diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/terraform/walkoperation_string.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/terraform/walkoperation_string.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/hashicorp/terraform/terraform/walkoperation_string.go b/vendor/github.com/hashicorp/terraform/terraform/walkoperation_string.go index cbd78dd..4cfc528 100644 --- a/vendor/github.com/hashicorp/terraform/terraform/walkoperation_string.go +++ b/vendor/github.com/hashicorp/terraform/terraform/walkoperation_string.go | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | package terraform | 3 | package terraform |
4 | 4 | ||
5 | import "fmt" | 5 | import "strconv" |
6 | 6 | ||
7 | const _walkOperation_name = "walkInvalidwalkInputwalkApplywalkPlanwalkPlanDestroywalkRefreshwalkValidatewalkDestroywalkImport" | 7 | const _walkOperation_name = "walkInvalidwalkInputwalkApplywalkPlanwalkPlanDestroywalkRefreshwalkValidatewalkDestroywalkImport" |
8 | 8 | ||
@@ -10,7 +10,7 @@ var _walkOperation_index = [...]uint8{0, 11, 20, 29, 37, 52, 63, 75, 86, 96} | |||
10 | 10 | ||
11 | func (i walkOperation) String() string { | 11 | func (i walkOperation) String() string { |
12 | if i >= walkOperation(len(_walkOperation_index)-1) { | 12 | if i >= walkOperation(len(_walkOperation_index)-1) { |
13 | return fmt.Sprintf("walkOperation(%d)", i) | 13 | return "walkOperation(" + strconv.FormatInt(int64(i), 10) + ")" |
14 | } | 14 | } |
15 | return _walkOperation_name[_walkOperation_index[i]:_walkOperation_index[i+1]] | 15 | return _walkOperation_name[_walkOperation_index[i]:_walkOperation_index[i+1]] |
16 | } | 16 | } |