Migrate to golangci-lint

Signed-off-by: Tam Mach <sayboras@yahoo.com>
This commit is contained in:
sayboras
2019-10-09 23:02:21 +11:00
committed by Tam Mach
parent a837179414
commit 66809646d9
34 changed files with 58 additions and 55 deletions

View File

@@ -173,8 +173,7 @@ func checkBlobDescriptorCacheClear(ctx context.Context, t *testing.T, provider c
t.Error(err)
}
desc, err = cache.Stat(ctx, localDigest)
if err == nil {
if _, err = cache.Stat(ctx, localDigest); err == nil {
t.Fatalf("expected error statting deleted blob: %v", err)
}
}