Merge "get_parser() should return a parser"

This commit is contained in:
Zuul 2019-02-14 00:26:27 +00:00 committed by Gerrit Code Review
commit 623f841ab9
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ class GenerateAnsibleConfig(command.Command):
"ansible.log files."),
default=constants.UNDERCLOUD_OUTPUT_DIR)
return parser
def take_action(self, parsed_args):
self.log.debug("take_action(%s)" % parsed_args)
if utils.get_deployment_user() != parsed_args.deployment_user: