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

Commit147da6f

Browse files
committed
remove sql no rows
1 parenteb798ee commit147da6f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎tailnet/tunnel.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package tailnet
22

33
import (
44
"context"
5-
"database/sql"
65
"net/netip"
76

87
"github.com/google/uuid"
@@ -105,7 +104,7 @@ func (a ClientUserCoordinateeAuth) Authorize(ctx context.Context, req *proto.Coo
105104
}
106105
err=a.RBACAuth.AuthorizeByID(ctx,uid)
107106
iferr!=nil {
108-
returnxerrors.Errorf("workspace agent not found or you do not have permission: %w",sql.ErrNoRows)
107+
returnxerrors.Errorf("workspace agent not found or you do not have permission")
109108
}
110109
}
111110

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp