]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - vendor/github.com/hashicorp/terraform/terraform/graphtype_string.go
Merge pull request #27 from terraform-providers/go-modules-2019-02-22
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / hashicorp / terraform / terraform / graphtype_string.go
index e97b4855a97e2dc45169e169c39036b7c75875e4..95ef4e94d481684b2df0f731268c16e2a67bf03f 100644 (file)
@@ -2,7 +2,7 @@
 
 package terraform
 
-import "fmt"
+import "strconv"
 
 const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypeRefreshGraphTypePlanGraphTypePlanDestroyGraphTypeApplyGraphTypeInputGraphTypeValidate"
 
@@ -10,7 +10,7 @@ var _GraphType_index = [...]uint8{0, 16, 31, 47, 60, 80, 94, 108, 125}
 
 func (i GraphType) String() string {
        if i >= GraphType(len(_GraphType_index)-1) {
-               return fmt.Sprintf("GraphType(%d)", i)
+               return "GraphType(" + strconv.FormatInt(int64(i), 10) + ")"
        }
        return _GraphType_name[_GraphType_index[i]:_GraphType_index[i+1]]
 }