Skip to content

Commit 2082b4f

Browse files
committed
migrate: inline parseTFStateAttrsFromBytes to fix dead-code check
Co-authored-by: Isaac
1 parent 8149041 commit 2082b4f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

bundle/migrate/tf_state.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,6 @@ func ParseTFStateAttrs(path string) (TFStateAttrs, error) {
121121
if err != nil {
122122
return nil, err
123123
}
124-
return parseTFStateAttrsFromBytes(raw)
125-
}
126-
127-
func parseTFStateAttrsFromBytes(raw []byte) (TFStateAttrs, error) {
128124
var s rawTFState
129125
if err := json.Unmarshal(raw, &s); err != nil {
130126
return nil, err

0 commit comments

Comments
 (0)