cmd: gomtree no arguments
my tar_stream_tar_time PR accidentally put the functionality for when gomtree has no arguments inside an unreachable block. Signed-off-by: Stephen Chung <schung@redhat.com>
This commit is contained in:
parent
b0c1606133
commit
8e3e4c3651
1 changed files with 5 additions and 5 deletions
|
@ -223,6 +223,7 @@ func main() {
|
||||||
fmt.Printf("%s missing\n", missingpath)
|
fmt.Printf("%s missing\n", missingpath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
log.Println("neither validating or creating a manifest. Please provide additional arguments")
|
log.Println("neither validating or creating a manifest. Please provide additional arguments")
|
||||||
isErr = true
|
isErr = true
|
||||||
|
@ -230,7 +231,6 @@ func main() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
func splitKeywordsArg(str string) []string {
|
func splitKeywordsArg(str string) []string {
|
||||||
return strings.Fields(strings.Replace(str, ",", " ", -1))
|
return strings.Fields(strings.Replace(str, ",", " ", -1))
|
||||||
|
|
Loading…
Reference in a new issue