diff options
author | Marcel Amirault <ravlen@gmail.com> | 2018-10-30 08:49:26 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-10-30 08:49:26 +0000 |
commit | 14fc739c94907255f70fe5032059bcdc4aba1e34 (patch) | |
tree | 3098367838e91c7a70636c9c50c656fb458b58d2 /app/controllers | |
parent | c71c1f03c78cb3362bbe2baaf49a8e3573c96d1a (diff) | |
download | gitlab-ce-14fc739c94907255f70fe5032059bcdc4aba1e34.tar.gz |
Renaming Secret Variables in the codebase
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/groups/settings/ci_cd_controller.rb | 4 | ||||
-rw-r--r-- | app/controllers/projects/settings/ci_cd_controller.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/groups/settings/ci_cd_controller.rb b/app/controllers/groups/settings/ci_cd_controller.rb index 93f3eb2be6d..c1dcc463de7 100644 --- a/app/controllers/groups/settings/ci_cd_controller.rb +++ b/app/controllers/groups/settings/ci_cd_controller.rb @@ -7,7 +7,7 @@ module Groups before_action :authorize_admin_pipeline! def show - define_secret_variables + define_ci_variables end def reset_registration_token @@ -19,7 +19,7 @@ module Groups private - def define_secret_variables + def define_ci_variables @variable = Ci::GroupVariable.new(group: group) .present(current_user: current_user) @variables = group.variables.order_key_asc diff --git a/app/controllers/projects/settings/ci_cd_controller.rb b/app/controllers/projects/settings/ci_cd_controller.rb index 3a1344651df..75e590f3f33 100644 --- a/app/controllers/projects/settings/ci_cd_controller.rb +++ b/app/controllers/projects/settings/ci_cd_controller.rb @@ -68,7 +68,7 @@ module Projects def define_variables define_runners_variables - define_secret_variables + define_ci_variables define_triggers_variables define_badges_variables define_auto_devops_variables @@ -90,7 +90,7 @@ module Projects @group_runners = ::Ci::Runner.belonging_to_parent_group_of_project(@project.id) end - def define_secret_variables + def define_ci_variables @variable = ::Ci::Variable.new(project: project) .present(current_user: current_user) @variables = project.variables.order_key_asc |