Skip to content

Commit

Permalink
Fix OS_IDENTITY_API_VERSION to 3 for old CLIs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugoch committed Apr 6, 2020
1 parent b50ade0 commit 8070639
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func ActivateContext(openstackConfig *OpenstackContextConfig, context OpenstackC
_ = os.Setenv("OS_USERNAME", context.OsUsername)
_ = os.Setenv("OS_PASSWORD", context.OsPassword)
_ = os.Setenv("OS_REGION_NAME", context.OsRegionName)
_ = os.Setenv("OS_IDENTITY_API_VERSION", "3")
path := getConfigPath()
openstackConfig.CurrentContext = context.Name
data, _ := yaml.Marshal(openstackConfig)
Expand Down

0 comments on commit 8070639

Please sign in to comment.