Fix bug 2413: fix filter in list operations for ACM first class citizens 39/15539/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 25 Nov 2025 14:58:12 +0000 (15:58 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 25 Nov 2025 15:18:21 +0000 (16:18 +0100)
Change-Id: Id40cad0ea08084ac8e0b0a4b985ca014df2d39a2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/cli_commands/app_profile.py
osmclient/cli_commands/cluster.py
osmclient/cli_commands/infra_config_profile.py
osmclient/cli_commands/infra_controller_profile.py
osmclient/cli_commands/ksu.py
osmclient/cli_commands/oka.py
osmclient/cli_commands/profiles.py
osmclient/cli_commands/resource_profile.py

index 75f364a..ab616a4 100755 (executable)
@@ -62,6 +62,8 @@ def app_profile_delete(ctx, name, force):
 @utils.require_hostname
 @click.option(
     "--filter",
+    default=None,
+    multiple=True,
     help="restricts the list to the items matching the filter",
 )
 @print_output.output_option
index c2d4c8e..241161d 100755 (executable)
@@ -126,6 +126,8 @@ def cluster_delete(ctx, name, force):
 @utils.require_hostname
 @click.option(
     "--filter",
+    default=None,
+    multiple=True,
     help="restricts the list to the items matching the filter",
 )
 @print_output.output_option
index 7a86c93..fab0301 100755 (executable)
@@ -66,6 +66,8 @@ def infra_config_profile_delete(ctx, name, force):
 @utils.require_hostname
 @click.option(
     "--filter",
+    default=None,
+    multiple=True,
     help="restricts the list to the items matching the filter",
 )
 @print_output.output_option
index 213c158..713a56e 100755 (executable)
@@ -68,6 +68,8 @@ def infra_controller_profile_delete(ctx, name, force):
 @utils.require_hostname
 @click.option(
     "--filter",
+    default=None,
+    multiple=True,
     help="restricts the list to the items matching the filter",
 )
 @print_output.output_option
index 1ce7f4a..5bd8999 100755 (executable)
@@ -284,6 +284,8 @@ def ksu_delete(ctx, ksus, force):
 @utils.require_hostname
 @click.option(
     "--filter",
+    default=None,
+    multiple=True,
     help="restricts the list to the items matching the filter",
 )
 @print_output.output_option
index 55b1d3c..d0e0020 100755 (executable)
@@ -161,6 +161,8 @@ def oka_delete(ctx, name, force):
 @utils.require_hostname
 @click.option(
     "--filter",
+    default=None,
+    multiple=True,
     help="restricts the list to the items matching the filter",
 )
 @print_output.output_option
index 821fca3..f4563af 100755 (executable)
@@ -27,6 +27,8 @@ logger = logging.getLogger("osmclient")
 @utils.require_hostname
 @click.option(
     "--filter",
+    default=None,
+    multiple=True,
     help="restricts the list to the items matching the filter",
 )
 @click.pass_context
index e1ff670..9df4684 100755 (executable)
@@ -64,6 +64,8 @@ def resource_profile_delete(ctx, name, force):
 @utils.require_hostname
 @click.option(
     "--filter",
+    default=None,
+    multiple=True,
     help="restricts the list to the items matching the filter",
 )
 @print_output.output_option