File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ limitations under the License.
17
17
package main
18
18
19
19
import (
20
- "github.com/davecgh/go-spew/spew"
21
20
kcpclienthelper "github.com/kcp-dev/apimachinery/v2/pkg/client"
22
21
apisv1alpha1 "github.com/kcp-dev/kcp/sdk/apis/apis/v1alpha1"
23
22
"github.com/kcp-dev/kcp/sdk/apis/core"
@@ -100,7 +99,6 @@ func main() {
100
99
if err != nil {
101
100
log .Error (err , "unable to create client" )
102
101
}
103
- spew .Dump (restWidgets )
104
102
105
103
err = widgets .Bootstrap (ctx , clientRoot , fakeBatteries )
106
104
if err != nil {
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ package controllers
19
19
import (
20
20
"context"
21
21
22
- "github.com/davecgh/go-spew/spew"
23
22
"github.com/kcp-dev/logicalcluster/v3"
24
23
"sigs.k8s.io/controller-runtime/pkg/kontext"
25
24
"sigs.k8s.io/controller-runtime/pkg/reconcile"
@@ -29,7 +28,6 @@ import (
29
28
// cluster clients and cache work out of the box.
30
29
func WithClusterInContext (r reconcile.Reconciler ) reconcile.Reconciler {
31
30
return reconcile .Func (func (ctx context.Context , req reconcile.Request ) (reconcile.Result , error ) {
32
- spew .Dump (req .NamespacedName , req .ClusterName )
33
31
ctx = kontext .WithCluster (ctx , logicalcluster .Name (req .ClusterName ))
34
32
return r .Reconcile (ctx , req )
35
33
})
You can’t perform that action at this time.
0 commit comments