diff --git a/zfs_replication_exporter.go b/zfs_replication_exporter.go index 58b30aa..05fed21 100644 --- a/zfs_replication_exporter.go +++ b/zfs_replication_exporter.go @@ -179,7 +179,6 @@ func main() { h = userHost[idx+1:] } go func(user, host string) { - glog.Infof("Dialing %s@%s", user, host) config := &ssh.ClientConfig{ User: user, Auth: ams, @@ -191,6 +190,7 @@ func main() { for { if c == nil { var err error + glog.Infof("Dialing %s@%s", user, host) c, err = ssh.Dial("tcp", host, config) if err != nil { glog.Errorf("Error dialing %q: %v", host, err)