Merge pull request #99 from jonboulle/simple

chore(cloudinit): remove superfluous check
This commit is contained in:
Jonathan Boulle 2014-05-12 10:51:51 -07:00
commit b87a4628e6

View File

@ -42,11 +42,6 @@ func main() {
os.Exit(0) 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 var ds datasource.Datasource
if file != "" { if file != "" {
ds = datasource.NewLocalFile(file) ds = datasource.NewLocalFile(file)