Added scaffolding for an unload container function
This commit is contained in:
@@ -18,6 +18,8 @@ module Pipeline::Rpc
|
||||
puts "dropping response"
|
||||
else
|
||||
req = entry[:req]
|
||||
resp = msg.parsed_msg
|
||||
resp.delete("return_address")
|
||||
req.send_result(msg.parsed_msg)
|
||||
unregister(addr)
|
||||
end
|
||||
|
||||
@@ -226,6 +226,9 @@ module Pipeline::Rpc
|
||||
elsif req.parsed_msg["action"] == "deploy_container_version"
|
||||
new_version = req.parsed_msg["new_version"]
|
||||
config.add_container_version!(channel, track_slug, new_version)
|
||||
elsif req.parsed_msg["action"] == "unload_container_version"
|
||||
new_version = req.parsed_msg["new_version"]
|
||||
req.send_error({ msg: "action not yet implemented" })
|
||||
else
|
||||
req.send_error({ msg: "action unknown" })
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user