aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/hashicorp/terraform/terraform/graphtype_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/terraform/graphtype_string.go')
-rw-r--r--vendor/github.com/hashicorp/terraform/terraform/graphtype_string.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/hashicorp/terraform/terraform/graphtype_string.go b/vendor/github.com/hashicorp/terraform/terraform/graphtype_string.go
index e97b485..95ef4e9 100644
--- a/vendor/github.com/hashicorp/terraform/terraform/graphtype_string.go
+++ b/vendor/github.com/hashicorp/terraform/terraform/graphtype_string.go
@@ -2,7 +2,7 @@
2 2
3package terraform 3package terraform
4 4
5import "fmt" 5import "strconv"
6 6
7const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypeRefreshGraphTypePlanGraphTypePlanDestroyGraphTypeApplyGraphTypeInputGraphTypeValidate" 7const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypeRefreshGraphTypePlanGraphTypePlanDestroyGraphTypeApplyGraphTypeInputGraphTypeValidate"
8 8
@@ -10,7 +10,7 @@ var _GraphType_index = [...]uint8{0, 16, 31, 47, 60, 80, 94, 108, 125}
10 10
11func (i GraphType) String() string { 11func (i GraphType) String() string {
12 if i >= GraphType(len(_GraphType_index)-1) { 12 if i >= GraphType(len(_GraphType_index)-1) {
13 return fmt.Sprintf("GraphType(%d)", i) 13 return "GraphType(" + strconv.FormatInt(int64(i), 10) + ")"
14 } 14 }
15 return _GraphType_name[_GraphType_index[i]:_GraphType_index[i+1]] 15 return _GraphType_name[_GraphType_index[i]:_GraphType_index[i+1]]
16} 16}