diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-05-03 15:09:34 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-05-03 15:09:34 +0800 |
commit | cf4faa491a699e2a9397ad3809695cc9c0965662 (patch) | |
tree | 62ca961f5f70d8351e10c1e0dd5c6b431b21f373 /cmd/puppeth/wizard_netstats.go | |
parent | 59966255add632e3ef09799a8b994ec982bd415a (diff) | |
download | dexon-cf4faa491a699e2a9397ad3809695cc9c0965662.tar dexon-cf4faa491a699e2a9397ad3809695cc9c0965662.tar.gz dexon-cf4faa491a699e2a9397ad3809695cc9c0965662.tar.bz2 dexon-cf4faa491a699e2a9397ad3809695cc9c0965662.tar.lz dexon-cf4faa491a699e2a9397ad3809695cc9c0965662.tar.xz dexon-cf4faa491a699e2a9397ad3809695cc9c0965662.tar.zst dexon-cf4faa491a699e2a9397ad3809695cc9c0965662.zip |
cmd/puppeth, vendor: update ssh, manage server keys (#14398)
Diffstat (limited to 'cmd/puppeth/wizard_netstats.go')
-rw-r--r-- | cmd/puppeth/wizard_netstats.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/puppeth/wizard_netstats.go b/cmd/puppeth/wizard_netstats.go index c2a933a55..1225abb75 100644 --- a/cmd/puppeth/wizard_netstats.go +++ b/cmd/puppeth/wizard_netstats.go @@ -41,14 +41,14 @@ func (w *wizard) networkStats(tips bool) { stats.SetHeader([]string{"Server", "IP", "Status", "Service", "Details"}) stats.SetColWidth(128) - for _, server := range w.conf.Servers { + for server, pubkey := range w.conf.Servers { client := w.servers[server] logger := log.New("server", server) logger.Info("Starting remote server health-check") // If the server is not connected, try to connect again if client == nil { - conn, err := dial(server) + conn, err := dial(server, pubkey) if err != nil { logger.Error("Failed to establish remote connection", "err", err) stats.Append([]string{server, "", err.Error(), "", ""}) |