mirror of
https://github.com/containers/skopeo.git
synced 2025-06-27 15:18:00 +00:00
Remove assignments to an unused variable
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
a71900996f
commit
f44ee2f80a
@ -241,7 +241,7 @@ func runTestGetManifestAndConfig(p *proxy, img string) error {
|
|||||||
}
|
}
|
||||||
imgid := uint32(imgidv)
|
imgid := uint32(imgidv)
|
||||||
|
|
||||||
v, manifestBytes, err := p.callReadAllBytes("GetManifest", []interface{}{imgid})
|
_, manifestBytes, err := p.callReadAllBytes("GetManifest", []interface{}{imgid})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -250,7 +250,7 @@ func runTestGetManifestAndConfig(p *proxy, img string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
v, configBytes, err := p.callReadAllBytes("GetFullConfig", []interface{}{imgid})
|
_, configBytes, err := p.callReadAllBytes("GetFullConfig", []interface{}{imgid})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -269,7 +269,7 @@ func runTestGetManifestAndConfig(p *proxy, img string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Also test this legacy interface
|
// Also test this legacy interface
|
||||||
v, ctrconfigBytes, err := p.callReadAllBytes("GetConfig", []interface{}{imgid})
|
_, ctrconfigBytes, err := p.callReadAllBytes("GetConfig", []interface{}{imgid})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user