From 2482183ad025f62d109962cf908244e139dc7d3f Mon Sep 17 00:00:00 2001 From: "VALLEY Antoine (T0173847)" Date: Tue, 23 Jul 2019 13:42:15 +0200 Subject: [PATCH] Fix plac annotation --- portainer_cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portainer_cli/__init__.py b/portainer_cli/__init__.py index e0befe4..b0ded53 100755 --- a/portainer_cli/__init__.py +++ b/portainer_cli/__init__.py @@ -330,7 +330,7 @@ class PortainerCLI(object): stack_id=('Stack id', 'option', 's'), stack_name=('Stack name', 'option', 'n'), endpoint_id=('Endpoint id', 'option', 'e'), - ownership_type=('Ownership type', 'option', 'o', ['admin', 'restricted', 'public']), + ownership_type=('Ownership type', 'option', 'o', str, ['admin', 'restricted', 'public']), users=('Allowed usernames (comma separated - restricted ownership_type only)', 'option', 'u'), teams=('Allowed teams (comma separated - restricted ownership_type only)', 'option', 't'), clear=('Clear acl (restricted ownership_type only)', 'flag', 'c')