Skip to content

Commit 993709b

Browse files
authored
Merge pull request #39 from mirzakopic/fix/kindlog
🐛 Small fix in kind example logging
2 parents dd1f0fa + fce774b commit 993709b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ go.work.sum
2626

2727
# Go binaries of compiled tools
2828
hack/tools/bin
29+
30+
# IDE files
31+
.vscode
32+
.idea

examples/kind/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func main() {
7272
return reconcile.Result{}, err
7373
}
7474

75-
log.Info("ConfigMap %s/%s in cluster %q", cm.Namespace, cm.Name, req.ClusterName)
75+
log.Info("ConfigMap found", "namespace", cm.Namespace, "name", cm.Name, "cluster", req.ClusterName)
7676

7777
return ctrl.Result{}, nil
7878
},

0 commit comments

Comments
 (0)