metadata: don't fail if no network config was provided
This commit is contained in:
parent
db49a16002
commit
c1f373e648
@ -163,7 +163,7 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
if ccm != nil {
|
||||
if ccm != nil && ccm.NetworkConfigPath != "" {
|
||||
fmt.Printf("Fetching network config from datasource of type %q\n", ds.Type())
|
||||
netconfBytes, err := ds.FetchNetworkConfig(ccm.NetworkConfigPath)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user