Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #172 from RedHatProductSecurity/fix-status-on-enti…
Browse files Browse the repository at this point in the history
…ty-crud

GRIF-92: deactivate griffon status bar (eg. --no-progres-bar) entity CRUD
  • Loading branch information
JimFuller-RedHat authored Apr 20, 2023
2 parents 3c40883 + 9258134 commit 6be6d04
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions griffon/commands/entities/osidb.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def get_flaw(ctx, flaw_id, **params):
endpoint_module=osidb_api_v1_flaws_update, exclude=["uuid", "trackers", "created_dt"]
)
@click.pass_context
@progress_bar
def update_flaw(ctx, flaw_id, **params):
request_body_type = getattr(osidb_api_v1_flaws_update, "REQUEST_BODY_TYPE", None)
if request_body_type is None:
Expand Down Expand Up @@ -164,7 +163,6 @@ def update_flaw(ctx, flaw_id, **params):
exclude=["uuid", "trackers", "created_dt", "updated_dt"],
)
@click.pass_context
@progress_bar
def create_flaw(ctx, **params):
request_body_type = getattr(osidb_api_v1_flaws_create, "REQUEST_BODY_TYPE", None)
if request_body_type is None:
Expand Down Expand Up @@ -262,7 +260,6 @@ def get_affect(ctx, affect_uuid, **params):
@click.option("--uuid", "affect_uuid", help="Affect UUID.", required=True)
@request_body_options(endpoint_module=osidb_api_v1_affects_update, exclude=["uuid"])
@click.pass_context
@progress_bar
def update_affect(ctx, affect_uuid, **params):
request_body_type = getattr(osidb_api_v1_affects_update, "REQUEST_BODY_TYPE", None)
if request_body_type is None:
Expand Down Expand Up @@ -315,7 +312,6 @@ def update_affect(ctx, affect_uuid, **params):
exclude=["uuid", "created_dt", "updated_dt"],
)
@click.pass_context
@progress_bar
def create_affect(ctx, **params):
request_body_type = getattr(osidb_api_v1_affects_create, "REQUEST_BODY_TYPE", None)
if request_body_type is None:
Expand Down Expand Up @@ -364,7 +360,6 @@ def create_affect(ctx, **params):
prompt="Are you sure you delete affect?",
)
@click.pass_context
@progress_bar
def delete_affect(ctx, affect_uuid, **params):
session = OSIDBService.create_session()
try:
Expand Down

0 comments on commit 6be6d04

Please sign in to comment.