File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1183,7 +1183,7 @@ $ scw inspect myserver | jq '.[0].public_ip.address'
11831183
11841184### master (unreleased)
11851185
1186- * No entry
1186+ * Fix bug when using SCW_COMMERCIAL_TYPE variable
11871187
11881188View full [ commits list] ( https://github.com/scaleway/scaleway-cli/compare/v1.8.1...master )
11891189
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ type ConfigCreateServer struct {
300300// CreateServer creates a server using API based on typical server fields
301301func CreateServer (api * ScalewayAPI , c * ConfigCreateServer ) (string , error ) {
302302 commercialType := os .Getenv ("SCW_COMMERCIAL_TYPE" )
303- if commercialType ! = "" {
303+ if commercialType = = "" {
304304 commercialType = c .CommercialType
305305 }
306306
You can’t perform that action at this time.
0 commit comments