Skip to content
Snippets Groups Projects
Commit 348a4847 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Remove wrong comment description"

parents c4f802bd e4b71a74
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