Skip to content

Commit

Permalink
PR feedback: early return before logging success
Browse files Browse the repository at this point in the history
  • Loading branch information
zackattack01 committed Nov 13, 2024
1 parent 8f08eea commit a5eb6f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/launcher/svc_config_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ func checkCurrentVersionMetadata(logger *slog.Logger, identifier string) {
"encountered error setting current version to registry",
"err", err,
)

return
}

logger.Log(context.TODO(), slog.LevelInfo,
Expand Down

0 comments on commit a5eb6f8

Please sign in to comment.