Fix wildcard flag value

Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
Andrey Berezin 2022-12-16 14:20:43 +03:00 committed by Julia Kovshova
parent 32b010df67
commit 29a8c1e252

View file

@ -124,7 +124,7 @@ def generate_container_session_token(
session = { session = {
"container": { "container": {
"verb": verb.value, "verb": verb.value,
"wildcard": cid is not None, "wildcard": cid is None,
**({"containerID": {"value": f"{encode_for_json(cid)}"}} if cid is not None else {}), **({"containerID": {"value": f"{encode_for_json(cid)}"}} if cid is not None else {}),
}, },
} }