Skip to content

Commit

Permalink
Pass the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 committed May 15, 2024
1 parent 84c1a1f commit 5b75c91
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions pkg/tfshim/sdk-v2/provider_diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,23 +133,3 @@ func (p v2Provider) simpleDiff(

return diff, nil
}

func showDiffChangeType(b byte) string {
// based on diffChangeType enumeration from terraform.InstanceDiff ChangeType() result
switch b {
case 1:
return "diffNone"
case 2:
return "diffCreate"
case 3:
return "diffCreate"
case 4:
return "diffUpdate"
case 5:
return "diffDestroy"
case 6:
return "diffDestroyCreate"
default:
return "diffInvalid"
}
}

0 comments on commit 5b75c91

Please sign in to comment.