Remove assignments to an unused variable

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač 2022-03-15 21:06:41 +01:00
parent a71900996f
commit f44ee2f80a

View File

@ -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
} }