diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/terraform/util.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/terraform/util.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/vendor/github.com/hashicorp/terraform/terraform/util.go b/vendor/github.com/hashicorp/terraform/terraform/util.go index 752241a..5428cd5 100644 --- a/vendor/github.com/hashicorp/terraform/terraform/util.go +++ b/vendor/github.com/hashicorp/terraform/terraform/util.go | |||
@@ -2,8 +2,6 @@ package terraform | |||
2 | 2 | ||
3 | import ( | 3 | import ( |
4 | "sort" | 4 | "sort" |
5 | |||
6 | "github.com/hashicorp/terraform/config" | ||
7 | ) | 5 | ) |
8 | 6 | ||
9 | // Semaphore is a wrapper around a channel to provide | 7 | // Semaphore is a wrapper around a channel to provide |
@@ -48,10 +46,6 @@ func (s Semaphore) Release() { | |||
48 | } | 46 | } |
49 | } | 47 | } |
50 | 48 | ||
51 | func resourceProvider(resourceType, explicitProvider string) string { | ||
52 | return config.ResourceProviderFullName(resourceType, explicitProvider) | ||
53 | } | ||
54 | |||
55 | // strSliceContains checks if a given string is contained in a slice | 49 | // strSliceContains checks if a given string is contained in a slice |
56 | // When anybody asks why Go needs generics, here you go. | 50 | // When anybody asks why Go needs generics, here you go. |
57 | func strSliceContains(haystack []string, needle string) bool { | 51 | func strSliceContains(haystack []string, needle string) bool { |