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 abereziny
parent c7f832e77a
commit 4f5aedebfe

View file

@ -124,7 +124,7 @@ def generate_container_session_token(
session = {
"container": {
"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 {}),
},
}