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

Commite5eb2a8

Browse files
authored
fix: prebuild user without ssh key when fetching owner ctx (#18541)
1 parentcd484db commite5eb2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎coderd/dynamicparameters/render.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ func (r *dynamicRenderer) getWorkspaceOwnerData(ctx context.Context, ownerID uui
299299
// unless the template leaks it.
300300
// nolint:gocritic
301301
key,err:=r.db.GetGitSSHKey(dbauthz.AsProvisionerd(ctx),ownerID)
302-
iferr!=nil {
302+
iferr!=nil&&!xerrors.Is(err,sql.ErrNoRows){
303303
returnxerrors.Errorf("ssh key: %w",err)
304304
}
305305

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp