We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 039917d commit 9adc252Copy full SHA for 9adc252
libvirt/uri/ssh.go
@@ -126,7 +126,7 @@ func (u *ConnectionURI) dialSSH() (net.Conn, error) {
126
log.Printf("[DEBUG] ssh user: system username")
127
u, err := user.Current()
128
if err != nil {
129
- return nil, fmt.Errorf("unable to get username: %v", err)
+ return nil, fmt.Errorf("unable to get username: %w", err)
130
}
131
sshu = u.Username
132
0 commit comments