Skip to content

Commit

Permalink
Provide either id or label in secret-get, but not both.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer committed Nov 9, 2023
1 parent aa90113 commit 2f4431a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3289,7 +3289,7 @@ def secret_get(self, *,
args: List[str] = []
if id is not None:
args.append(id)
if label is not None:
elif label is not None:
args.extend(['--label', label])
if refresh:
args.append('--refresh')
Expand Down

0 comments on commit 2f4431a

Please sign in to comment.