lib/kontena/cli/etcd/set_command.rb in kontena-cli-0.16.0.pre5 vs lib/kontena/cli/etcd/set_command.rb in kontena-cli-0.16.0.pre6
- old
+ new
@@ -15,10 +15,10 @@
validate_key
data = {value: value}
response = client(token).post("etcd/#{current_grid}/#{key}", data)
if response['error']
- abort response['error']
+ exit_with_error response['error']
end
end
end
end