Skip to content

Commit 8070639

Browse files
committed
Fix OS_IDENTITY_API_VERSION to 3 for old CLIs
1 parent b50ade0 commit 8070639

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ func ActivateContext(openstackConfig *OpenstackContextConfig, context OpenstackC
9393
_ = os.Setenv("OS_USERNAME", context.OsUsername)
9494
_ = os.Setenv("OS_PASSWORD", context.OsPassword)
9595
_ = os.Setenv("OS_REGION_NAME", context.OsRegionName)
96+
_ = os.Setenv("OS_IDENTITY_API_VERSION", "3")
9697
path := getConfigPath()
9798
openstackConfig.CurrentContext = context.Name
9899
data, _ := yaml.Marshal(openstackConfig)

0 commit comments

Comments
 (0)