Update golangci-lint and fix lint errors
This commit is contained in:
@@ -57,9 +57,7 @@ func (rr *RefreshResource) With(resource string, ids ...string) *RefreshResource
|
||||
if len(ids) == 0 {
|
||||
rr.resources[resource] = append(rr.resources[resource], Any)
|
||||
}
|
||||
for i := range ids {
|
||||
rr.resources[resource] = append(rr.resources[resource], ids[i])
|
||||
}
|
||||
rr.resources[resource] = append(rr.resources[resource], ids...)
|
||||
return rr
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user