Commit 12a30d31 authored by Dan Jensen's avatar Dan Jensen Committed by Mayra Cabrera

Fix undefined variable in Cycle Analytics fixture

Previously a reference to pipeline was not defined, which raised a
NoMethodError.
parent ff441549
...@@ -208,7 +208,7 @@ class Gitlab::Seeder::CycleAnalytics ...@@ -208,7 +208,7 @@ class Gitlab::Seeder::CycleAnalytics
job = merge_request.head_pipeline.builds.where.not(environment: nil).last job = merge_request.head_pipeline.builds.where.not(environment: nil).last
job.success! job.success!
pipeline.update_status job.pipeline.update_status
end end
end end
end 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