CI: Bump golangci-lint to 2.0.2 (#103572)
This commit is contained in:
committed by
GitHub
parent
b58b6e828e
commit
757be6365a
@@ -207,7 +207,7 @@ func (f *JSONFormatter) processArray(array []any, deltas []diff.Delta) error {
|
||||
if int(d.Position.(diff.Index)) < len(array) {
|
||||
continue
|
||||
}
|
||||
f.printRecursive(d.Position.String(), d.Value, ChangeAdded)
|
||||
f.printRecursive(d.String(), d.Value, ChangeAdded)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -227,7 +227,7 @@ func (f *JSONFormatter) processObject(object map[string]any, deltas []diff.Delta
|
||||
for _, delta := range deltas {
|
||||
d, ok := delta.(*diff.Added)
|
||||
if ok {
|
||||
f.printRecursive(d.Position.String(), d.Value, ChangeAdded)
|
||||
f.printRecursive(d.String(), d.Value, ChangeAdded)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -225,5 +225,5 @@ type writerWrapper struct {
|
||||
}
|
||||
|
||||
func (w writerWrapper) SetACL(acl string) {
|
||||
w.ObjectAttrs.PredefinedACL = acl
|
||||
w.PredefinedACL = acl
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user