From f44ee2f80a8e54ccb6c54f3e5ed36e42b6b0c77d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Tue, 15 Mar 2022 21:06:41 +0100 Subject: [PATCH] Remove assignments to an unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miloslav Trmač --- integration/proxy_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/proxy_test.go b/integration/proxy_test.go index 69a3a290..e37e2767 100644 --- a/integration/proxy_test.go +++ b/integration/proxy_test.go @@ -241,7 +241,7 @@ func runTestGetManifestAndConfig(p *proxy, img string) error { } imgid := uint32(imgidv) - v, manifestBytes, err := p.callReadAllBytes("GetManifest", []interface{}{imgid}) + _, manifestBytes, err := p.callReadAllBytes("GetManifest", []interface{}{imgid}) if err != nil { return err } @@ -250,7 +250,7 @@ func runTestGetManifestAndConfig(p *proxy, img string) error { return err } - v, configBytes, err := p.callReadAllBytes("GetFullConfig", []interface{}{imgid}) + _, configBytes, err := p.callReadAllBytes("GetFullConfig", []interface{}{imgid}) if err != nil { return err } @@ -269,7 +269,7 @@ func runTestGetManifestAndConfig(p *proxy, img string) error { } // Also test this legacy interface - v, ctrconfigBytes, err := p.callReadAllBytes("GetConfig", []interface{}{imgid}) + _, ctrconfigBytes, err := p.callReadAllBytes("GetConfig", []interface{}{imgid}) if err != nil { return err }