diff options
| author | Jeff Carr <[email protected]> | 2024-10-13 04:34:55 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-13 04:34:55 -0500 |
| commit | ccbdef1a1340571110d9867499b0801ff19c681c (patch) | |
| tree | 1890cab5e70268ddf23eb896120cd28cd352bebc /main.go | |
| parent | 425e75d388beb3f00e527e89ef81a35fd5b6e931 (diff) | |
checking for the grid to be 'stable' before starting new droplets
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -5,6 +5,7 @@ package main import ( "embed" "os" + "time" "go.wit.com/dev/alexflint/arg" "go.wit.com/log" @@ -30,6 +31,9 @@ func main() { readDropletFile("droplets") readHypervisorFile("hypervisor") + // initialize the grid as unstable + me.unstable = time.Now() + log.Info("create cluser for", argv.Hosts) for _, name := range argv.Hosts { h := addHypervisor(name) |
