fix gosec failures

This commit is contained in:
Robert Parker
2019-03-08 12:59:54 +00:00
parent ce664dd654
commit 1fa4f6f148
3 changed files with 6 additions and 1 deletions

View File

@@ -45,7 +45,10 @@ func doMain() error {
// Check whether they only want debug info
if *infoFlag {
logVersionInfo()
logContainerDetails()
err = logContainerDetails()
if err != nil {
log.Printf("Error displaying container details: %v", err)
}
return nil
}