Skip to content

Commit 59a3a7e

Browse files
basel1322asafambar
andauthored
Update commands/curation/curationaudit.go
Co-authored-by: Asaf Ambar <[email protected]>
1 parent 2e5ad3d commit 59a3a7e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

commands/curation/curationaudit.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,7 @@ func (ca *CurationAuditCommand) checkSupportByVersionOrEnv(tech techutils.Techno
133133
}
134134

135135
func (ca *CurationAuditCommand) checkDockerSupport() (bool, error) {
136-
dockerImageName := ca.DockerImageName()
137-
if dockerImageName == "" {
138-
return false, nil
139-
}
140-
return true, nil
136+
return ca.DockerImageName() != "", nil
141137
}
142138

143139
func (ca *CurationAuditCommand) getRtVersion(tech techutils.Technology) (string, error) {

0 commit comments

Comments
 (0)