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:
Jeffrey Zhang 2015-12-18 12:46:11 +08:00
parent 03fd08d867
commit e4b71a745e

View File

@ -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)