Skip to content

Commit

Permalink
KUBESAW-10: Rename the ToolchainCluster controller to ToolchainCluste…
Browse files Browse the repository at this point in the history
…r_cache controller (#378)

* Rename the ToolchainCluster controller to ToolchainCluster_cache controller

Signed-off-by: Feny Mehta <[email protected]>

* Removing underscore in package name

Signed-off-by: Feny Mehta <[email protected]>

* Adding logger name cache

Signed-off-by: Feny Mehta <[email protected]>

---------

Signed-off-by: Feny Mehta <[email protected]>
Co-authored-by: Alexey Kazakov <[email protected]>
  • Loading branch information
fbm3307 and alexeykazakov authored Apr 3, 2024
1 parent c4b15ac commit 183e7d4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package toolchaincluster
package toolchainclustercache

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package toolchaincluster
package toolchainclustercache

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package toolchaincluster
package toolchainclustercache

import (
"context"
Expand Down Expand Up @@ -46,7 +46,7 @@ type Reconciler struct {
// The Controller will requeue the Request to be processed again if the returned error is non-nil or
// Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error) {
reqLogger := log.FromContext(ctx)
reqLogger := log.FromContext(ctx).WithName("cache")
reqLogger.Info("Reconciling ToolchainCluster")

// Fetch the ToolchainCluster instance
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package toolchaincluster
package toolchainclustercache

import (
"context"
Expand Down

0 comments on commit 183e7d4

Please sign in to comment.