[skip ci] Fix golint warning of log (#9994)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
dragondriver 2021-10-15 20:18:41 +08:00 committed by GitHub
parent 840f4a6342
commit 85b078e26a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,6 +140,7 @@ func S() *zap.SugaredLogger {
return _globalS.Load().(*zap.SugaredLogger)
}
// R returns utils.ReconfigurableRateLimiter.
func R() *utils.ReconfigurableRateLimiter {
return _globalR.Load().(*utils.ReconfigurableRateLimiter)
}