From: Aric Gardner Date: Thu, 6 Aug 2020 19:44:00 +0000 (-0400) Subject: Change ci-managed filter default to false X-Git-Tag: v0.35.0~3 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F64954%2F1;p=releng%2Flftools.git Change ci-managed filter default to false ODL does not tag images as ci-mangaged and its confusing for the user to have nothing returned. Signed-off-by: Aric Gardner Change-Id: Ib6e4fb15b0f211efde4b41ecb3d78327c1a8b4d9 --- diff --git a/lftools/openstack/cmd.py b/lftools/openstack/cmd.py index aa8fdec9..19d56b00 100644 --- a/lftools/openstack/cmd.py +++ b/lftools/openstack/cmd.py @@ -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.")