diff --git a/paunch/cmd.py b/paunch/cmd.py index e1a0972..d069230 100644 --- a/paunch/cmd.py +++ b/paunch/cmd.py @@ -68,13 +68,15 @@ class Apply(command.Command): with open(parsed_args.file, 'r') as f: config = yaml.safe_load(f) - paunch.apply( + stdout, stderr, rc = paunch.apply( parsed_args.config_id, config, managed_by='paunch', labels=labels ) + return rc + class Cleanup(command.Command):