Skip to content

Commit 5d70006

Browse files
committed
fix ssh transport port typo
Closes: #1165
1 parent d2e3372 commit 5d70006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libvirt/uri/ssh.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (u *ConnectionURI) dialHost(target string, sshcfg *ssh_config.Config, depth
191191
log.Printf("[DEBUG] using connection string port ('%s')", port)
192192
} else {
193193

194-
port := defaultSSHPort
194+
port = defaultSSHPort
195195
log.Printf("[DEBUG] using default port for ssh connection ('%s')", port)
196196
}
197197

0 commit comments

Comments
 (0)