[cherry-pick]remove the log for ScannerSkipUpdatePullTime (#19847)

remove the log for ScannerSkipUpdatePullTime

fixes #19795, remove the noise in the log

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
Wang Yan 2024-01-16 09:36:22 +08:00 committed by GitHub
parent 8d0c8d4bec
commit b54b373757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,7 +252,6 @@ func SkipAuditLogDatabase(ctx context.Context) bool {
// ScannerSkipUpdatePullTime returns the scanner skip update pull time setting // ScannerSkipUpdatePullTime returns the scanner skip update pull time setting
func ScannerSkipUpdatePullTime(ctx context.Context) bool { func ScannerSkipUpdatePullTime(ctx context.Context) bool {
log.Infof("skip_update_pull_time:%v", DefaultMgr().Get(ctx, common.ScannerSkipUpdatePullTime).GetBool())
return DefaultMgr().Get(ctx, common.ScannerSkipUpdatePullTime).GetBool() return DefaultMgr().Get(ctx, common.ScannerSkipUpdatePullTime).GetBool()
} }