Skip to content

Commit

Permalink
🐛 fix duplicate values in log entries
Browse files Browse the repository at this point in the history
  • Loading branch information
zbindenren committed Nov 28, 2022
1 parent 007d240 commit bcd1121
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/builder/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"github.com/go-logr/logr"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/klog/v2"

"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/client/apiutil"
Expand Down Expand Up @@ -319,7 +318,6 @@ func (blder *Builder) doController(r reconcile.Reconciler) error {
log := log
if req != nil {
log = log.WithValues(
gvk.Kind, klog.KRef(req.Namespace, req.Name),
"namespace", req.Namespace, "name", req.Name,
)
}
Expand Down

0 comments on commit bcd1121

Please sign in to comment.