Skip to content

Commit

Permalink
2.0: enabling the new resources feature toggle by default
Browse files Browse the repository at this point in the history
We'll clean up the remaining files once #5508 has been merged
  • Loading branch information
tombuildsstuff committed Feb 12, 2020
1 parent 8587c33 commit 47283de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 61 deletions.
7 changes: 1 addition & 6 deletions azurerm/internal/features/two_point_oh.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
package features

import (
"os"
"strings"
)

// SupportsTwoPointZeroResources returns whether the new VM and VMSS resources from 2.0
// should be supported
//
Expand All @@ -24,5 +19,5 @@ import (
// Operators wishing to beta-test these resources can opt-into them in 1.x versions of the
// Azure Provider by setting the Environment Variable 'ARM_PROVIDER_TWOPOINTZERO_RESOURCES' to 'true'
func SupportsTwoPointZeroResources() bool {
return strings.EqualFold(os.Getenv("ARM_PROVIDER_TWOPOINTZERO_RESOURCES"), "true")
return true
}
55 changes: 0 additions & 55 deletions azurerm/internal/features/two_point_oh_test.go

This file was deleted.

0 comments on commit 47283de

Please sign in to comment.