Handle None config for networkConfig
This would allow us to set NetworkConfig to OS::Heat::None Change-Id: I695ac3a0565932334be31a5c7f162c926422bf6e
This commit is contained in:
@@ -229,6 +229,9 @@ class Config(object):
|
||||
config_path = os.path.join(config_dir, role, "NetworkConfig")
|
||||
# check if it's actual config or heat config_id
|
||||
# this will be dropped once we stop using SoftwareConfig
|
||||
if config is None:
|
||||
continue
|
||||
|
||||
if isinstance(config, dict):
|
||||
str_config = json.dumps(config)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user