Skip to content

Commit

Permalink
Update iam org-policy reset confirmation text (#568)
Browse files Browse the repository at this point in the history
Updates `exo iam org-policy reset` confirmation text to remove
ambiguity.
  • Loading branch information
kobajagi authored Feb 23, 2024
1 parent 3acff53 commit eaafc53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

### Improvements
- x: make `exo api` an alias to `exo x` #579
- Update `iam org-policy reset` confirmation text #568

## 1.76.1

Expand Down
2 changes: 1 addition & 1 deletion cmd/iam_org_policy_reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (c *iamOrgPolicyResetCmd) cmdPreRun(cmd *cobra.Command, args []string) erro

func (c *iamOrgPolicyResetCmd) cmdRun(cmd *cobra.Command, _ []string) error {
if !c.Force {
if !askQuestion("This action will remove any resource constraints you may have set in your Org Policy. Proceed?") {
if !askQuestion("This action will reset your Org Policy to the default, removing any constraints that were set in the Org Policy. Proceed?") {
return nil
}
}
Expand Down

0 comments on commit eaafc53

Please sign in to comment.