Skip to content

Commit ea4bc49

Browse files
author
root
committed
Merge branch 'devel' into feat_protected_branches
2 parents ecc9247 + a6a2dff commit ea4bc49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: app/models/repository_deployment_credential.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ class RepositoryDeploymentCredential < ActiveRecord::Base
2727
validates_associated :gitolite_public_key
2828
validates_associated :user
2929

30-
validate :correct_key_type, :owner_matches_key
30+
validate :correct_key_type
31+
validate :owner_matches_key
3132

3233
## Scopes
3334
scope :active, -> { where active: STATUS_ACTIVE }

0 commit comments

Comments
 (0)