Skip to content

Commit

Permalink
#800 fix GitoliteWrapper.resync_gitolite and update postgres to 14 fo…
Browse files Browse the repository at this point in the history
…r github actions
  • Loading branch information
alexandermeindl committed Oct 21, 2021
1 parent d27b8b6 commit 56d0f96
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

services:
postgres:
image: postgres:13
image: postgres:14
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
Expand Down
2 changes: 1 addition & 1 deletion lib/redmine_git_hosting/gitolite_accessor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def resync_gitolite(command, object, **options)
RedmineGitHosting::Config.sidekiq_available? && !bypass
GithostingShellWorker.maybe_do command, object, options
else
GitoliteWrapper.resync_gitolite command, object, options
GitoliteWrapper.resync_gitolite command, object, **options
end
end
end
Expand Down
3 changes: 0 additions & 3 deletions lib/redmine_git_hosting/gitolite_wrapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ def resync_gitolite(action, object, **options)
# Symbolize keys before using them
action = action.to_sym

# NOTE: this could no longer be used. Are there any non-symbolized keys?
# options = options.symbolize_keys

# Flush cache if needed
flush_cache(**options)

Expand Down

0 comments on commit 56d0f96

Please sign in to comment.