Skip to content

Commit a6a2dff

Browse files
author
root
committed
Minor change
1 parent 10ca35f commit a6a2dff

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)