lib/command/setup_app.rb in cpflow-3.0.1 vs lib/command/setup_app.rb in cpflow-4.0.0
- old
+ new
@@ -40,10 +40,10 @@
create_secret_and_policy_if_not_exist unless skip_secrets_setup
args = []
args.push("--add-app-identity") unless skip_secrets_setup
- Cpflow::Cli.start(["apply-template", *templates, "-a", config.app, *args])
+ run_cpflow_command("apply-template", *templates, "-a", config.app, *args)
bind_identity_to_policy unless skip_secrets_setup
run_post_creation_hook unless config.options[:skip_post_creation_hook]
end