Skip to content

Commit b813b2a

Browse files
committed
fixup! fix(enterprise/tailnet): handle query canceled error in sendBeat()
1 parent 7ac7d9c commit b813b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise/tailnet/pgcoord.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ func (h *heartbeats) sendBeats() {
14941494

14951495
func (h *heartbeats) sendBeat() {
14961496
_, err := h.store.UpsertTailnetCoordinator(h.ctx, h.self)
1497-
if xerrors.Is(err, context.Canceled) || database.IsQueryCanceledError(err) {
1497+
if database.IsQueryCanceledError(err) {
14981498
return
14991499
}
15001500
if err != nil {

0 commit comments

Comments
 (0)