Skip to content

Commit

Permalink
fix: handle short name for gov cloud until support in SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
redhatrises committed Sep 20, 2024
1 parent 16657a0 commit c457e0c
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 c457e0c

Please sign in to comment.