run gofumpt

This commit is contained in:
Matthew Penner
2021-11-15 10:37:56 -07:00
parent 43d66d14b2
commit 04b9ef69a1
17 changed files with 34 additions and 36 deletions

View File

@@ -35,7 +35,6 @@ func (h *Handler) registerListenerEvents(ctx context.Context) {
go h.listenForExpiration(ctx)
}
// ListenForExpiration checks the time to expiration on the JWT every 30 seconds
// until the token has expired. If we are within 3 minutes of the token expiring,
// send a notice over the socket that it is expiring soon. If it has expired,

View File

@@ -369,7 +369,7 @@ func (h *Handler) HandleInbound(ctx context.Context, m Message) error {
}
case SendServerLogsEvent:
{
ctx, cancel := context.WithTimeout(context.Background(), time.Second * 5)
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
defer cancel()
if running, _ := h.server.Environment.IsRunning(ctx); !running {
return nil