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

Commit4318329

Browse files
committed
fix(lint): use xerrors.Errorf instead of fmt.Errorf
1 parentc0b2c08 commit4318329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎agent/agentssh/agentssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,6 @@ func CoderSigner(seed int64, algorithm string) (gossh.Signer, error) {
13581358
returngossh.NewSignerFromKey(coderHostKey)
13591359

13601360
default:
1361-
returnnil,fmt.Errorf("unsupported host key algorithm: %s",algorithm)
1361+
returnnil,xerrors.Errorf("unsupported host key algorithm: %s",algorithm)
13621362
}
13631363
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp