We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33c03aa commit 09e13d9Copy full SHA for 09e13d9
bake/async/container/supervisor.rb
@@ -44,12 +44,12 @@ def memory_sample(duration: 10, connection_id:)
44
operation = {do: :memory_sample, duration: duration}
45
46
# Use the forward operation to proxy the request to a worker:
47
- data = connection.call(do: :forward, operation: operation, connection_id: connection_id)
+ response = connection.call(do: :forward, operation: operation, connection_id: connection_id)
48
49
- if data && data.key?(:data)
50
- JSON.parse(data[:data], symbolize_names: true)
+ if response && response.key?(:data)
+ JSON.parse(response[:data], symbolize_names: true)
51
else
52
- data
+ response
53
end
54
55
0 commit comments