Commit 816f8fe1 authored by Valery Sizov's avatar Valery Sizov

fix rubocop

parent f2b297f0
...@@ -2,4 +2,4 @@ class AddGroupIdToWebHooks < ActiveRecord::Migration ...@@ -2,4 +2,4 @@ class AddGroupIdToWebHooks < ActiveRecord::Migration
def change def change
add_column :web_hooks, :group_id, :integer, after: :project_id add_column :web_hooks, :group_id, :integer, after: :project_id
end end
end end
\ No newline at end of file
...@@ -12,7 +12,7 @@ class CanonicalizeKerberosIdentities < ActiveRecord::Migration ...@@ -12,7 +12,7 @@ class CanonicalizeKerberosIdentities < ActiveRecord::Migration
default_realm = krb5.get_default_realm default_realm = krb5.get_default_realm
krb5.close # release memory allocated by the krb5 library krb5.close # release memory allocated by the krb5 library
default_realm || '' default_realm || ''
rescue Exception rescue StandardError
'' # could not find the system's default realm, maybe there's no Kerberos at all '' # could not find the system's default realm, maybe there's no Kerberos at all
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment