mirror of
https://github.com/containers/skopeo.git
synced 2025-09-08 18:19:37 +00:00
Fix some warnings
golangci-lint linter: unparam This primarily fixes TestProxy to test the correct image Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
@@ -38,14 +38,13 @@ func (s *skopeoSuite) SetupSuite() {
|
||||
}
|
||||
|
||||
func (s *skopeoSuite) TearDownSuite() {
|
||||
t := s.T()
|
||||
if s.regV2 != nil {
|
||||
s.regV2.tearDown(t)
|
||||
s.regV2.tearDown()
|
||||
}
|
||||
if s.regV2WithAuth != nil {
|
||||
// cmd := exec.Command("docker", "logout", s.regV2WithAuth)
|
||||
// require.Noerror(t, cmd.Run())
|
||||
s.regV2WithAuth.tearDown(t)
|
||||
s.regV2WithAuth.tearDown()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user