Update deployment check to consider scoped workers

This commit is contained in:
Charles Care
2020-02-11 13:09:06 +00:00
committed by GitHub
parent 4d9968bbff
commit 617ea5a3cc

View File

@@ -166,7 +166,7 @@ module Pipeline::Rpc
puts current_worker_status.keys
puts channel
status = current_worker_status[channel.to_sym]
worker_count = status[:online_workers].size
worker_count = status[:online_workers][language_slug].size
deployed_versions = status[:deployed_versions][language_slug]
check_status = {}
deployed_versions.map do |version, workers|