run gofumpt
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user