Change ci-managed filter default to false 54/64954/1
authorAric Gardner <agardner@linuxfoundation.org>
Thu, 6 Aug 2020 19:44:00 +0000 (15:44 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Thu, 6 Aug 2020 19:45:19 +0000 (15:45 -0400)
ODL does not tag images as ci-mangaged and its confusing
for the user to have nothing returned.

Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: Ib6e4fb15b0f211efde4b41ecb3d78327c1a8b4d9

lftools/openstack/cmd.py

index aa8fdec..19d56b0 100644 (file)
@@ -39,7 +39,7 @@ def image(ctx):
 
 @click.command()
 @click.option(
-    "--ci-managed", type=bool, default=True, help="Filter only images that have the ci_managed=yes metadata set."
+    "--ci-managed", type=bool, default=False, help="Filter only images that have the ci_managed=yes metadata set."
 )
 @click.option("--days", type=int, default=0, help="Find images older than or equal to days.")
 @click.option("--hide-public", type=bool, default=False, help="Ignore public images.")
@@ -60,7 +60,7 @@ def cleanup(ctx, days, hide_public, ci_managed, clouds):
 
 @click.command()
 @click.option(
-    "--ci-managed", type=bool, default=True, help="Filter only images that have the ci_managed=yes metadata set."
+    "--ci-managed", type=bool, default=False, help="Filter only images that have the ci_managed=yes metadata set."
 )
 @click.option("--days", type=int, default=0, help="Find images older than or equal to days.")
 @click.option("--hide-public", type=bool, default=False, help="Ignore public images.")