chore(cloudinit): remove superfluous check
This commit is contained in:
parent
3bb3a683a4
commit
e3117269cb
@ -42,11 +42,6 @@ func main() {
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
if file != "" && url != "" && !useProcCmdline {
|
||||
fmt.Println("Provide one of --from-file, --from-url or --from-proc-cmdline")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
var ds datasource.Datasource
|
||||
if file != "" {
|
||||
ds = datasource.NewLocalFile(file)
|
||||
|
Loading…
Reference in New Issue
Block a user