]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - vendor/github.com/hashicorp/terraform/terraform/walkoperation_string.go
deps: github.com/hashicorp/terraform@sdk-v0.11-with-go-modules
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / hashicorp / terraform / terraform / walkoperation_string.go
index cbd78dd93f0d7ba7532e0e39822f1068d2566cc0..4cfc528ef0c1300b0d72e4aaa02147c227a66c9d 100644 (file)
@@ -2,7 +2,7 @@
 
 package terraform
 
-import "fmt"
+import "strconv"
 
 const _walkOperation_name = "walkInvalidwalkInputwalkApplywalkPlanwalkPlanDestroywalkRefreshwalkValidatewalkDestroywalkImport"
 
@@ -10,7 +10,7 @@ var _walkOperation_index = [...]uint8{0, 11, 20, 29, 37, 52, 63, 75, 86, 96}
 
 func (i walkOperation) String() string {
        if i >= walkOperation(len(_walkOperation_index)-1) {
-               return fmt.Sprintf("walkOperation(%d)", i)
+               return "walkOperation(" + strconv.FormatInt(int64(i), 10) + ")"
        }
        return _walkOperation_name[_walkOperation_index[i]:_walkOperation_index[i+1]]
 }