full revert
parent
e7876bd355
commit
4be6658664
|
@ -287,17 +287,17 @@ func provisionWithDriver(cmd *cobra.Command, ds registry.DriverState, existing *
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mRunner, preExists, mAPI, host, err := node.Provision(&cc, &n, true, viper.GetBool(deleteOnFailure))
|
||||||
|
if err != nil {
|
||||||
|
return node.Starter{}, err
|
||||||
|
}
|
||||||
|
|
||||||
if viper.GetBool(nativeSSH) {
|
if viper.GetBool(nativeSSH) {
|
||||||
ssh.SetDefaultClient(ssh.Native)
|
ssh.SetDefaultClient(ssh.Native)
|
||||||
} else {
|
} else {
|
||||||
ssh.SetDefaultClient(ssh.External)
|
ssh.SetDefaultClient(ssh.External)
|
||||||
}
|
}
|
||||||
|
|
||||||
mRunner, preExists, mAPI, host, err := node.Provision(&cc, &n, true, viper.GetBool(deleteOnFailure))
|
|
||||||
if err != nil {
|
|
||||||
return node.Starter{}, err
|
|
||||||
}
|
|
||||||
|
|
||||||
return node.Starter{
|
return node.Starter{
|
||||||
Runner: mRunner,
|
Runner: mRunner,
|
||||||
PreExists: preExists,
|
PreExists: preExists,
|
||||||
|
|
Loading…
Reference in New Issue