Skip to content

Commit

Permalink
fix(): upgrade deps, reduce log verbosity
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul-D78 <[email protected]>
  • Loading branch information
Rahul-D78 committed Apr 19, 2024
1 parent 971c9f0 commit 80a76f5
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion controllers/slice/namespaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (r *SliceReconciler) reconcileAppNamespaces(ctx context.Context, slice *kub
log.Error(err, "Failed to list namespaces")
return ctrl.Result{}, err, true
}
log.Info("reconciling", "existingAppNsList", existingAppNsList)
debugLog.Info("reconciling", "existingAppNsList", existingAppNsList)
// Convert the list into a map for faster lookups. Will come in handy when we compare
// existing namespaces against configured namespaces.
existingAppNsMap := make(map[string]*nsMarker)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/google/go-cmp v0.6.0
github.com/kubeslice/apis v0.3.0
github.com/kubeslice/gateway-sidecar v0.2.0
github.com/kubeslice/kubeslice-monitoring v0.1.10
github.com/kubeslice/kubeslice-monitoring v0.2.1
github.com/kubeslice/netops v0.1.3
github.com/kubeslice/router-sidecar v1.4.0
github.com/kubeslice/slicegw-edge v1.0.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ github.com/kubeslice/apis v0.3.0 h1:sSaMLKWN9OfUdcTYAcIaUpRwlZqrmgKLPG5I8dYYH2k=
github.com/kubeslice/apis v0.3.0/go.mod h1:YDSfpIsQM+FtQPaZVGNCTZnlp3viWuQhkjJjIHQdaYs=
github.com/kubeslice/gateway-sidecar v0.2.0 h1:Ja3fIUivuSjUFQ4lPCt79ATq99BxslvAFYUwV9Urpy4=
github.com/kubeslice/gateway-sidecar v0.2.0/go.mod h1:nM1+Wjud2vk44cUg+9iwBbWTpqI+2Ecbn9NuaHEs9aY=
github.com/kubeslice/kubeslice-monitoring v0.1.10 h1:ozzGuSxr5dsouI2ATtPOLygsKfQ8w6wUI9QHkSp33TQ=
github.com/kubeslice/kubeslice-monitoring v0.1.10/go.mod h1:Ux4e/ZvTKru8ewnOP0YudLey6ZItriCx6Tzjt9oVnHg=
github.com/kubeslice/kubeslice-monitoring v0.2.1 h1:wtmIEigpQoKzuckof7QRqdsaa4lV/rqxd/FcmOj5N5Q=
github.com/kubeslice/kubeslice-monitoring v0.2.1/go.mod h1:PASwPHqwCjfL838gC6cSiGNu9aML9RTvDqyTpbC1FWo=
github.com/kubeslice/netops v0.1.3 h1:XT9RDxIwh/6381c/GwZi1vHCw8D0ZKQUPISok326/Aw=
github.com/kubeslice/netops v0.1.3/go.mod h1:ZHUN74gCIkjtJO2BS2w0+JvTi+366JxxgCpU3OvLDk0=
github.com/kubeslice/router-sidecar v1.4.0 h1:UX2HBoLfFhc2b5mdFx9pj3kQZJffav70zaiPUWcYu1s=
Expand Down
2 changes: 1 addition & 1 deletion pkg/hub/controllers/cluster/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reco
return reconcile.Result{}, err
}

log.Info("got cluster CR from hub", "cluster", cr)
log.Info("got cluster CR from hub", "cluster", cr.Name)
requeue, result, err := r.handleClusterDeletion(cr, ctx, req)
if requeue {
return result, err
Expand Down
2 changes: 1 addition & 1 deletion pkg/hub/controllers/slice_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func (r *SliceReconciler) Reconcile(ctx context.Context, req reconcile.Request)
return reconcile.Result{}, err
} else {
utils.RecordEvent(ctx, r.EventRecorder, slice, nil, ossEvents.EventWorkerSliceHealthUpdated, sliceControllerName)
log.Info("succesfully updated the slice CR ", "slice CR ", slice)
log.Info("succesfully updated the slice CR ", "slice CR ", slice.Name)
}
}
r.counterSliceUpdated.WithLabelValues(sliceName).Add(1)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ github.com/kubeslice/gateway-sidecar/pkg/metrics
github.com/kubeslice/gateway-sidecar/pkg/nettools
github.com/kubeslice/gateway-sidecar/pkg/sidecar/sidecarpb
github.com/kubeslice/gateway-sidecar/pkg/status
# github.com/kubeslice/kubeslice-monitoring v0.1.10
# github.com/kubeslice/kubeslice-monitoring v0.2.1
## explicit; go 1.19
github.com/kubeslice/kubeslice-monitoring/pkg/events
github.com/kubeslice/kubeslice-monitoring/pkg/logger
Expand Down

0 comments on commit 80a76f5

Please sign in to comment.