From e3117269cb7d44bf4a08dfd61ef8fd253bb1dd7c Mon Sep 17 00:00:00 2001 From: Jonathan Boulle Date: Fri, 9 May 2014 20:32:51 -0700 Subject: [PATCH] chore(cloudinit): remove superfluous check --- coreos-cloudinit.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/coreos-cloudinit.go b/coreos-cloudinit.go index f931e61..a39eaf5 100644 --- a/coreos-cloudinit.go +++ b/coreos-cloudinit.go @@ -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)