Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 committed May 31, 2023
1 parent 4e1a2ba commit 6fa3ab9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/tfshim/sdk-v2/instance_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ func (s v2InstanceState) Object(sch shim.SchemaMap) (map[string]interface{}, err
if err != nil {
glog.V(9).Infof("[tfshim/sdk-v2] v2InstanceState ignoring an error from objectV2, "+
"failling back to objectV1: %v", err)
obj, err = s.objectV1(sch)
var err2 error
obj, err2 = s.objectV1(sch)
if err2 != nil {
return nil, err2
}
}

attrs := s.tf.Attributes
Expand Down

0 comments on commit 6fa3ab9

Please sign in to comment.