We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce4706e commit c69ad0dCopy full SHA for c69ad0d
1 file changed
lib/dry-stack/command_swarm_deploy.rb
@@ -67,7 +67,9 @@ def run(stack, params, args, extra)
67
deploy_status:,
68
stack: YAML.load(yaml, aliases: true)
69
}
70
- exec_i "curl -s -X POST #{deploy_registry}/api/v1/swarm_deploy -H 'Content-Type: application/json' -d @-", data.to_json
+ exec_i "curl -s -X POST #{deploy_registry}/api/v1/swarm_deploy -H 'Content-Type: application/json' -d @-", data.to_json do |return_value, std_out, std_err|
71
+ puts "POST Return value: #{return_value}"
72
+ end
73
end
74
75
0 commit comments