summaryrefslogtreecommitdiff
path: root/app/models/deployment.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2016-09-30 16:40:56 +0000
committerZ.J. van de Weg <zegerjan@gitlab.com>2016-10-04 09:54:31 +0200
commit8fd91794382899e9e352af493a699198d7867f96 (patch)
treed37a3484aa5c60aed0889b072531f50543f21f00 /app/models/deployment.rb
parent7d46bd6128309e6ef1f3f4785889f5a0fef4de8f (diff)
downloadgitlab-ce-8fd91794382899e9e352af493a699198d7867f96.tar.gz
Update method name
Diffstat (limited to 'app/models/deployment.rb')
-rw-r--r--app/models/deployment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/deployment.rb b/app/models/deployment.rb
index cde6598fc7b..bfcfd4f2e11 100644
--- a/app/models/deployment.rb
+++ b/app/models/deployment.rb
@@ -29,7 +29,7 @@ class Deployment < ActiveRecord::Base
self == environment.last_deployment
end
- def keep_around_commit
+ def create_ref
project.repository.fetch_ref(project.repository.path_to_repo, ref, ref_path)
end