Commit 9233d2b0 authored by Thong Kuah's avatar Thong Kuah

Fix Ruby 2.7 warning for #add_terminal_auth call

parent 53fe3d8d
......@@ -102,7 +102,7 @@ module Clusters
def terminals(environment, data)
pods = filter_by_project_environment(data[:pods], environment.project.full_path_slug, environment.slug)
terminals = pods.flat_map { |pod| terminals_for_pod(api_url, environment.deployment_namespace, pod) }.compact
terminals.each { |terminal| add_terminal_auth(terminal, terminal_auth) }
terminals.each { |terminal| add_terminal_auth(terminal, **terminal_auth) }
end
def kubeclient
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment