Skip to content

Commit

Permalink
feat:fix error log format in cache manager (#1791)
Browse files Browse the repository at this point in the history
  • Loading branch information
NewKeyTo authored Nov 14, 2023
1 parent 068fefe commit f0e8511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/yurthub/cachemanager/cache_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ func (cm *cacheManager) saveWatchObject(ctx context.Context, info *apirequest.Re
}

if err != nil {
klog.Errorf("failed to process watch object %s, %v", key, err)
klog.Errorf("failed to process watch object %s, %v", key.Key(), err)
}
case watch.Bookmark:
rv, _ := accessor.ResourceVersion(obj)
Expand Down

0 comments on commit f0e8511

Please sign in to comment.