Skip to content

Commit 93371ef

Browse files
committed
Remove nonexisting err from AES detection warning
Fixes build on platforms other than darwin and linux. Signed-off-by: Anders F Björklund <[email protected]>
1 parent 8ae4808 commit 93371ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sshutil/sshutil_others.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ import (
1111

1212
func detectAESAcceleration() bool {
1313
const fallback = runtime.GOARCH == "amd64"
14-
logrus.WithError(err).Warnf("cannot detect whether AES accelerator is available, assuming %v", fallback)
14+
logrus.Warnf("cannot detect whether AES accelerator is available, assuming %v", fallback)
1515
return fallback
1616
}

0 commit comments

Comments
 (0)