• Guido Trotter's avatar
    InitCluster, don't use SimpleConfigWriter · 9e1333b9
    Guido Trotter authored
    InitConfig returns a SimpleConfigWriter to InitCluster, which then
    passes it on to ssh.WriteKnownHostsFile, which extracts a couple of
    values from it. One line later the full ConfigWriter is initialized.
    By initializing it one line before we can pass the full writer to
    ssh.WriteKnownHostsFile, and thus we don't need to care anymore for the
    InitConfig returned SimpleConfigWriter
    Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
bootstrap.py 18.6 KB