Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-06-23 23:53:41 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 16:43:36 +0300
commitee7468e786e434273211586df1408a3c6268e9ed (patch)
treed32b56f14931b71eccb6e0a22b09de647c6e690f /lib/gitlab/gpg
parent78b5264511a76e481110236e9c14764d9c1b953a (diff)
we need to update the gpg_key as well
Diffstat (limited to 'lib/gitlab/gpg')
-rw-r--r--lib/gitlab/gpg/commit.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/gpg/commit.rb b/lib/gitlab/gpg/commit.rb
index 437f13ef311..99d112a51a3 100644
--- a/lib/gitlab/gpg/commit.rb
+++ b/lib/gitlab/gpg/commit.rb
@@ -32,7 +32,8 @@ module Gitlab
def update_signature!(cached_signature)
using_keychain do |gpg_key|
cached_signature.update_attributes!(
- valid_signature: gpg_signature_valid_signature_value(gpg_key)
+ valid_signature: gpg_signature_valid_signature_value(gpg_key),
+ gpg_key: gpg_key
)
end
end