Skip to content

Commit c69ad0d

Browse files
committed
update
1 parent ce4706e commit c69ad0d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/dry-stack/command_swarm_deploy.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ def run(stack, params, args, extra)
6767
deploy_status:,
6868
stack: YAML.load(yaml, aliases: true)
6969
}
70-
exec_i "curl -s -X POST #{deploy_registry}/api/v1/swarm_deploy -H 'Content-Type: application/json' -d @-", data.to_json
70+
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
7173
end
7274
end
7375
end

0 commit comments

Comments
 (0)