Skip to content

Commit 01197d2

Browse files
committed
feat(standalone): Polishing
1 parent 0b9f3a3 commit 01197d2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/controllers/daemon/standalone/controller.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func New(config *kcfg.StandaloneConfig, cache *standalone.Cache, metricsModule *
5656
cache: cache,
5757
config: config,
5858
metricsModule: metricsModule,
59-
l: log.Logger().Named(string("Controller")),
59+
l: log.Logger().Named(string("RetinaEndpointController")),
6060
}, nil
6161
}
6262

@@ -104,7 +104,7 @@ func (c *Controller) Reconcile(ctx context.Context) error {
104104

105105
// Run starts the controller loop
106106
func (c *Controller) Run(ctx context.Context) {
107-
c.l.Info("Starting controller")
107+
c.l.Info("Starting RetinaEndpoint controller")
108108

109109
ticker := time.NewTicker(c.config.MetricsInterval)
110110
defer ticker.Stop()
@@ -124,7 +124,7 @@ func (c *Controller) Run(ctx context.Context) {
124124

125125
// Stop stops the controller and cleans up resources
126126
func (c *Controller) Stop() {
127-
c.l.Info("Stopping controller")
127+
c.l.Info("Stopping RetinaEndpoint controller")
128128
c.cache.Clear()
129129
c.metricsModule.Clear()
130130
}

0 commit comments

Comments
 (0)