Commit fd9c08b1 authored by Shinya Maeda's avatar Shinya Maeda

Fix syntax error, unexpected tOP_ASGN, expecting keyword_end

parent ba03b1bd
......@@ -257,9 +257,9 @@ module EE
def deployment_platform(environment: nil)
return super unless environment && feature_available?(:multiple_clusters)
@deployment_platform
||= Ci::HasEnvironmentScope.filter_by(clusters.enabled, environment.name)
.last&.platform_kubernetes
@deployment_platform ||= Ci::HasEnvironmentScope
.filter_by(clusters.enabled, environment.name)
.last&.platform_kubernetes
super # Wildcard or KubernetesService
end
......
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