Skip to content

Commit

Permalink
Merge pull request #8 from redhatrises/handle_gov_short
Browse files Browse the repository at this point in the history
fix: handle short name for gov cloud until support in SDK
  • Loading branch information
redhatrises authored Sep 20, 2024
2 parents 16657a0 + c457e0c commit 3267651
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ func main() {
*updatePolicyName = "platform_default"
}

// Handle short name for gov cloud until SDK supports it
if *cloud == "gov1" {
*cloud = "us-gov-1"
}

osName, osVersion, err := osutils.ReadEtcRelease(targetOS)
if err != nil {
log.Fatalf("%v", err)
Expand Down

0 comments on commit 3267651

Please sign in to comment.