diff --git a/cmd/worker/main.go b/cmd/worker/main.go index 990d6fc9f..68a056938 100644 --- a/cmd/worker/main.go +++ b/cmd/worker/main.go @@ -24,18 +24,18 @@ func main() { s, err := worker.NewWorker() if err != nil { if _, ok := err.(*types.ErrWorkerNotFound); ok { - log.Info().Msg("Worker not found. Shutting down.") + log.Info().Msg("worker not found. Shutting down.") return } - log.Fatal().Err(err).Msg("Worker initialization failed") + log.Fatal().Err(err).Msg("worker initialization failed") } err = s.Run() if err != nil { if _, ok := err.(*types.ErrWorkerNotFound); ok { - log.Info().Msg("Worker not found. Shutting down.") + log.Info().Msg("worker not found. Shutting down.") return } - log.Fatal().Err(err).Msg("Starting worker failed") + log.Fatal().Err(err).Msg("starting worker failed") } } diff --git a/pkg/worker/image.go b/pkg/worker/image.go index 766a9b2f4..fc9444f8a 100644 --- a/pkg/worker/image.go +++ b/pkg/worker/image.go @@ -206,7 +206,7 @@ func (c *ImageClient) Cleanup() error { return true // Continue iteration }) - log.Info().Str("path", c.imageCachePath).Msg("Cleaning up blobfs image cache") + log.Info().Str("path", c.imageCachePath).Msg("cleaning up blobfs image cache") if c.config.BlobCache.BlobFs.Enabled && c.cacheClient != nil { err := c.cacheClient.Cleanup() if err != nil {