Skip to content
Snippets Groups Projects
Commit e4b71a74 authored by Jeffrey Zhang's avatar Jeffrey Zhang
Browse files

Remove wrong comment description

Base on the code logic, all the source, dest, owner and perm field
is required.

Change-Id: Iba5b4b2c2bd3ca0b97a3c29655e87c9701a84350
parent 03fd08d8
No related branches found
No related tags found
No related merge requests found
...@@ -40,9 +40,7 @@ def validate_config(config): ...@@ -40,9 +40,7 @@ def validate_config(config):
# Validate config sections # Validate config sections
for data in config.get('config_files', list()): for data in config.get('config_files', list()):
# Verify required keys exist. Only 'source' and 'dest' are # Verify required keys exist.
# required. 'owner' and 'perm' should user system defaults if not
# specified
if not data.viewkeys() >= required_keys: if not data.viewkeys() >= required_keys:
LOG.error('Config is missing required keys: {}'.format(data)) LOG.error('Config is missing required keys: {}'.format(data))
sys.exit(1) sys.exit(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment