mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
Turn on More linters
- misspell - prealloc - unparam - nakedret Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -366,7 +366,7 @@ func (ir *Runtime) pullGoalFromPossiblyUnqualifiedName(inputName string) (*pullG
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
var refPairs []pullRefPair
|
||||
refPairs := make([]pullRefPair, 0, len(searchRegistries))
|
||||
for _, registry := range searchRegistries {
|
||||
ref, err := decomposedImage.referenceWithRegistry(registry)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user