Skip to content

Commit

Permalink
Fix incorrect env var for otc-floating-ip-type/otc-elastic-ip-type
Browse files Browse the repository at this point in the history
  • Loading branch information
outcatcher committed Apr 3, 2020
1 parent 928c8c5 commit 3598ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions driver/opentelekomcloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -500,13 +500,13 @@ func (d *Driver) GetCreateFlags() []mcnflag.Flag {
},
mcnflag.StringFlag{
Name: "otc-floating-ip-type",
EnvVar: "BANDWIDTH_TYPE",
EnvVar: "ELASTICIP_TYPE",
Usage: "OpenTelekomCloud bandwidth type",
Value: "5_bgp",
},
mcnflag.StringFlag{
Name: "otc-elastic-ip-type",
EnvVar: "BANDWIDTH_TYPE",
EnvVar: "ELASTICIP_TYPE",
Usage: "OpenTelekomCloud bandwidth type. DEPRECATED! Use -otc-floating-ip-type instead",
Value: "",
},
Expand Down

0 comments on commit 3598ba9

Please sign in to comment.