Merge pull request #99 from jonboulle/simple
chore(cloudinit): remove superfluous check
This commit is contained in:
commit
b87a4628e6
@ -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