From eaafc53d9e53ff896bc94620c685f2df216530d5 Mon Sep 17 00:00:00 2001 From: Predrag Janosevic Date: Fri, 23 Feb 2024 10:52:37 +0000 Subject: [PATCH] Update iam org-policy reset confirmation text (#568) Updates `exo iam org-policy reset` confirmation text to remove ambiguity. --- CHANGELOG.md | 1 + cmd/iam_org_policy_reset.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70f63c890..48a70e941 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/cmd/iam_org_policy_reset.go b/cmd/iam_org_policy_reset.go index d2c367c94..51edc7fb8 100644 --- a/cmd/iam_org_policy_reset.go +++ b/cmd/iam_org_policy_reset.go @@ -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 } }