Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitecae6f9

Browse files
authored
fix(enterprise/tailnet): handle query canceled error in sendBeat() (#11794)
1 parent8bc91b4 commitecae6f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎enterprise/tailnet/pgcoord.go

Lines changed: 1 addition & 1 deletion
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-
ifxerrors.Is(err,context.Canceled) {
1497+
ifdatabase.IsQueryCanceledError(err) {
14981498
return
14991499
}
15001500
iferr!=nil {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp