Remove wrong comment description
Base on the code logic, all the source, dest, owner and perm field is required. Change-Id: Iba5b4b2c2bd3ca0b97a3c29655e87c9701a84350
This commit is contained in:
parent
03fd08d867
commit
e4b71a745e
@ -40,9 +40,7 @@ def validate_config(config):
|
||||
|
||||
# Validate config sections
|
||||
for data in config.get('config_files', list()):
|
||||
# Verify required keys exist. Only 'source' and 'dest' are
|
||||
# required. 'owner' and 'perm' should user system defaults if not
|
||||
# specified
|
||||
# Verify required keys exist.
|
||||
if not data.viewkeys() >= required_keys:
|
||||
LOG.error('Config is missing required keys: {}'.format(data))
|
||||
sys.exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user