Skip to content

Commit 4318329

Browse files
committed
fix(lint): use xerrors.Errorf instead of fmt.Errorf
1 parent c0b2c08 commit 4318329

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
return gossh.NewSignerFromKey(coderHostKey)
13591359

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

0 commit comments

Comments
 (0)