Skip to content

Commit

Permalink
Fix error when trying to edit missing config
Browse files Browse the repository at this point in the history
The hint to the create command was missing the "config" gommand group.
  • Loading branch information
mdellweg committed Sep 25, 2024
1 parent 32c1cb5 commit 5fb51e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/+config_create_error.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed the error message for `pulp config edit` to properly hint at `pulp config create`.
2 changes: 1 addition & 1 deletion pulp_cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def edit(location: str) -> None:
raise click.ClickException(
_(
"File '{location}' does not exists. If you wish to create the file, use the pulp "
"create command."
"config create command."
).format(location=location)
)

Expand Down

0 comments on commit 5fb51e5

Please sign in to comment.