Fixed golangci-lint issues: /fission/pkg (#1902)

This commit is contained in:
Gaurav Gahlot
2021-01-19 23:29:20 +05:30
committed by GitHub
parent 5155dc72ad
commit 6758a04dbd
20 changed files with 176 additions and 64 deletions
+6 -1
View File
@@ -126,7 +126,12 @@ func TestS3StorageService(t *testing.T) {
log.Fatalf("Could not connect to docker: %s", err)
}
defer pool.Purge(resource)
defer func() {
err := pool.Purge(resource)
if err != nil {
log.Fatal(err)
}
}()
// Start storagesvc
bucketName := "test-s3-service"