Revert "metadata: don't fail if no network config was provided"

This reverts commit c1f373e648e1d8950faef668b5a70968db2408a3.
This commit is contained in:
Alex Crawford 2014-09-13 21:01:42 -07:00
parent 72445796ca
commit 585ce5fcd9

View File

@ -163,7 +163,7 @@ func main() {
os.Exit(1)
}
if ccm != nil && ccm.NetworkConfigPath != "" {
if ccm != nil {
fmt.Printf("Fetching network config from datasource of type %q\n", ds.Type())
netconfBytes, err := ds.FetchNetworkConfig(ccm.NetworkConfigPath)
if err != nil {