]> source.dussan.org Git - gitea.git/commit
Fix cache bug (#30510) v1.21.11
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 16 Apr 2024 02:59:15 +0000 (10:59 +0800)
committerGitHub <noreply@github.com>
Tue, 16 Apr 2024 02:59:15 +0000 (10:59 +0800)
commitacdcfcc6ebfe762657aa866ccbb8d9f8bd906639
tree6e0d9762e827700615e84abc8f54f5585c845be2
parent727b1914b464e422fea0c5cb0e33bfa3deb3175d
Fix cache bug (#30510)

Cache cannot be disabled from v1.22. So it still maybe `nil` in v1.21,
we have to check whether cache is `nil`.
services/repository/commitstatus/commitstatus.go