Skip to content

Commit f148e8f

Browse files
committed
fix lint
1 parent 2d51672 commit f148e8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/services/state/static_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func NewStaticNetworkStateProviderFromFile(path string) (*StaticNetworkStateProv
4949
if err != nil {
5050
return nil, fmt.Errorf("creating gzip reader for %q: %w", path, err)
5151
}
52-
defer gz.Close()
52+
defer func() { _ = gz.Close() }()
5353
r = gz
5454
}
5555
return NewStaticNetworkStateProviderFromJSON(r)

0 commit comments

Comments
 (0)