Skip to content

Commit 56d0f96

Browse files
#800 fix GitoliteWrapper.resync_gitolite and update postgres to 14 for github actions
1 parent d27b8b6 commit 56d0f96

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
services:
2626
postgres:
27-
image: postgres:13
27+
image: postgres:14
2828
env:
2929
POSTGRES_USER: postgres
3030
POSTGRES_PASSWORD: postgres

Diff for: lib/redmine_git_hosting/gitolite_accessor.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def resync_gitolite(command, object, **options)
118118
RedmineGitHosting::Config.sidekiq_available? && !bypass
119119
GithostingShellWorker.maybe_do command, object, options
120120
else
121-
GitoliteWrapper.resync_gitolite command, object, options
121+
GitoliteWrapper.resync_gitolite command, object, **options
122122
end
123123
end
124124
end

Diff for: lib/redmine_git_hosting/gitolite_wrapper.rb

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ def resync_gitolite(action, object, **options)
1414
# Symbolize keys before using them
1515
action = action.to_sym
1616

17-
# NOTE: this could no longer be used. Are there any non-symbolized keys?
18-
# options = options.symbolize_keys
19-
2017
# Flush cache if needed
2118
flush_cache(**options)
2219

0 commit comments

Comments
 (0)