Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sclevine committed Jan 24, 2025
1 parent a79fe3f commit ae0889e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/autoupdate/agent/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -795,17 +795,17 @@ func (u *Updater) notices(ctx context.Context) error {
if !enabled && active {
u.Log.WarnContext(ctx, "Teleport is installed and started, but not configured to start on boot.\n"+
"After configuring teleport.yaml, you can enable it with:\n"+
"\tsystemctl enable teleport")
"\tsystemctl enable teleport") //nolint:sloglint // sum of constants
}
if !active && enabled {
u.Log.WarnContext(ctx, "Teleport is installed and enabled at boot, but not running.\n"+
"After configuring teleport.yaml, you can start it with:\n"+
"\tsystemctl start teleport")
"\tsystemctl start teleport") //nolint:sloglint // sum of constants
}
if !active && !enabled {
u.Log.WarnContext(ctx, "Teleport is installed, but not running or enabled at boot.\n"+
"After configuring teleport.yaml, you can enable and start it with:\n"+
"\tsystemctl enable teleport --now")
"\tsystemctl enable teleport --now") //nolint:sloglint // sum of constants
}
return nil
}
Expand Down

0 comments on commit ae0889e

Please sign in to comment.