summaryrefslogtreecommitdiff
path: root/lib/api/pipelines.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/pipelines.rb')
-rw-r--r--lib/api/pipelines.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/pipelines.rb b/lib/api/pipelines.rb
index f29a18e94cf..667bf1ec801 100644
--- a/lib/api/pipelines.rb
+++ b/lib/api/pipelines.rb
@@ -137,7 +137,7 @@ module API
pipeline.cancel_running
status 200
- present pipeline.reload, with: Entities::Pipeline
+ present pipeline.reset, with: Entities::Pipeline
end
end