Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit 0230155

Browse files
committed
Fix missing cache flush.
1 parent 1b50594 commit 0230155

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/storage/gateway.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,10 @@ func UpdateGatewayState(ctx context.Context, db sqlx.Execer, id lorawan.EUI64, l
406406
return ErrDoesNotExist
407407
}
408408

409+
if err := FlushGatewayMetaCache(ctx, id); err != nil {
410+
return err
411+
}
412+
409413
log.WithFields(log.Fields{
410414
"gateway_id": id,
411415
"ctx_id": ctx.Value(logging.ContextIDKey),

0 commit comments

Comments
 (0)