Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gpt
large_projects
gitlabhq1
Commits
9fce7022
Commit
9fce7022
authored
7 years ago
by
Shinya Maeda
Browse files
Options
Download
Email Patches
Plain Diff
Use right condition for params[:variables]
parent
da471bad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/services/ci/pipeline_trigger_service.rb
app/services/ci/pipeline_trigger_service.rb
+1
-1
No files found.
app/services/ci/pipeline_trigger_service.rb
View file @
9fce7022
...
...
@@ -32,7 +32,7 @@ module Ci
end
def
create_pipeline_variables!
(
pipeline
)
return
if
params
[
:variables
].
is_a?
(
Hash
)
return
unless
params
[
:variables
].
is_a?
(
Hash
)
variables
=
params
[
:variables
].
map
do
|
key
,
value
|
{
key:
key
,
value:
value
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment