Skip to content

Typo in #4874 breaks pack filtering by tags via the API #4918

@mweinberg-cm

Description

@mweinberg-cm

SUMMARY

Filtering packs by tags via the API fails due to a typo in #4874.

STACKSTORM VERSION

Paste the output of st2 --version:

st2 3.2dev (c8534cae7), on Python 3.6.9
OS, environment, install method

One-line install on Ubuntu 18.04.3 LTS.

Steps to reproduce the problem

curl -H "X-Auth-Token: 9c1f9268b5fb4f8aaadfea1fa4bb992e" -k https://localhost/api/v1/actions?tags=anytag

Expected Results

Either an empty list or an action should be returned.

Actual Results

root@st2-dev-01:~/.st2# curl -H "X-Auth-Token: xxx" -k https://localhost/api/v1/actions?tags=marvel-project
{
    "faultstring": "Internal Server Error"
}

Will provide a PR to fix this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions