Skip to content

Commit a66bfe2

Browse files
committed
clean
1 parent 9576c03 commit a66bfe2

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

examples/kcp/config/main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ limitations under the License.
1717
package main
1818

1919
import (
20-
"github.com/davecgh/go-spew/spew"
2120
kcpclienthelper "github.com/kcp-dev/apimachinery/v2/pkg/client"
2221
apisv1alpha1 "github.com/kcp-dev/kcp/sdk/apis/apis/v1alpha1"
2322
"github.com/kcp-dev/kcp/sdk/apis/core"
@@ -100,7 +99,6 @@ func main() {
10099
if err != nil {
101100
log.Error(err, "unable to create client")
102101
}
103-
spew.Dump(restWidgets)
104102

105103
err = widgets.Bootstrap(ctx, clientRoot, fakeBatteries)
106104
if err != nil {

examples/kcp/controllers/helper.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ package controllers
1919
import (
2020
"context"
2121

22-
"github.com/davecgh/go-spew/spew"
2322
"github.com/kcp-dev/logicalcluster/v3"
2423
"sigs.k8s.io/controller-runtime/pkg/kontext"
2524
"sigs.k8s.io/controller-runtime/pkg/reconcile"
@@ -29,7 +28,6 @@ import (
2928
// cluster clients and cache work out of the box.
3029
func WithClusterInContext(r reconcile.Reconciler) reconcile.Reconciler {
3130
return reconcile.Func(func(ctx context.Context, req reconcile.Request) (reconcile.Result, error) {
32-
spew.Dump(req.NamespacedName, req.ClusterName)
3331
ctx = kontext.WithCluster(ctx, logicalcluster.Name(req.ClusterName))
3432
return r.Reconcile(ctx, req)
3533
})

0 commit comments

Comments
 (0)