Fix goimport and gosec warnings

This commit is contained in:
Deluan
2020-04-26 12:53:36 -04:00
committed by Deluan Quintão
parent 5cd453afeb
commit ddeefad501
10 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ func ExtractAllMetadata(inputs []string) (map[string]*Metadata, error) {
args := createProbeCommand(inputs)
log.Trace("Executing command", "args", args)
cmd := exec.Command(args[0], args[1:]...)
cmd := exec.Command(args[0], args[1:]...) // #nosec
output, _ := cmd.CombinedOutput()
mds := map[string]*Metadata{}
if len(output) == 0 {