Refuse a converged genesis on a machine in use, naming every container and listener counted (hq ADR 0100)
This commit is contained in:
@@ -105,6 +105,11 @@ func Preflight(ctx context.Context, o Options, d Deps, say func(string)) ([]byte
|
||||
if err := waitForRuntime(ctx, d.Run, o.Timeout, o.Wait, say); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// A converged genesis refuses a machine in use (novox/hq ADR 0100) — asked once the runtime
|
||||
// answers, so what it runs can be counted, and before anything changes.
|
||||
if err := RefuseAMachineInUse(ctx, o, d.Run, say); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// 4. Can this machine reach what the bundle's images come from?
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user