Skip to content

Commit f9d22c4

Browse files
committed
chore: use static log message
1 parent a7133e8 commit f9d22c4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

server/server.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ func (s *Server) Run() error {
133133
zap.String("signal", sig.String()),
134134
)
135135
} else {
136-
l.Info("Unconditional fail signal received; will be failing all healthchecks for the next "+s.cfg.Healthcheck.UnconditionalFailDuration.String()+"...",
136+
l.Info("Unconditional fail signal received; will be failing all healthchecks for configured duration... ",
137+
zap.Duration("duration", s.cfg.Healthcheck.UnconditionalFailDuration),
137138
zap.String("signal", sig.String()),
138139
)
139140
go func() {

0 commit comments

Comments
 (0)