Skip to content

Commit

Permalink
lower caps everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
dleviminzi committed Nov 25, 2024
1 parent 3f13872 commit 9bfecbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions cmd/worker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
2 changes: 1 addition & 1 deletion pkg/worker/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9bfecbf

Please sign in to comment.