summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2018-10-08 14:17:11 +1300
committerThong Kuah <tkuah@gitlab.com>2018-10-08 14:17:11 +1300
commitb7fea0e02896dba74729c59986675bd22dba1f0c (patch)
tree1cc8084652bbfe03d5af3da69cd2935eb46aa015
parentf0e2a857960861da6b9301d7124dd4ad159812bd (diff)
downloadgitlab-ce-group_k8s_cluster.tar.gz
Add frozen_string_literal to new filesgroup_k8s_cluster
-rw-r--r--app/controllers/groups/clusters/applications_controller.rb2
-rw-r--r--spec/controllers/groups/clusters/applications_controller_spec.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/groups/clusters/applications_controller.rb b/app/controllers/groups/clusters/applications_controller.rb
index 27858fb535e..f6584cf77d5 100644
--- a/app/controllers/groups/clusters/applications_controller.rb
+++ b/app/controllers/groups/clusters/applications_controller.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class Groups::Clusters::ApplicationsController < Groups::ApplicationController
before_action :cluster
before_action :application_class, only: [:create]
diff --git a/spec/controllers/groups/clusters/applications_controller_spec.rb b/spec/controllers/groups/clusters/applications_controller_spec.rb
index 7a30fcfcd6b..2ce8fd028b0 100644
--- a/spec/controllers/groups/clusters/applications_controller_spec.rb
+++ b/spec/controllers/groups/clusters/applications_controller_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe Groups::Clusters::ApplicationsController do