Skip to content

Commit

Permalink
add another sleep to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
johndietz committed Oct 24, 2023
1 parent 8325f17 commit 9d53a99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/environments/defaultEnvironments.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ func callApiEE(goPayload types.WorkloadClusterSet) error {
httpClient := http.Client{Transport: customTransport}

for i, cluster := range goPayload.Clusters {

log.Infof("sleeping 10 seconds per cluster")
time.Sleep(10 * time.Second)
log.Infof("sleeping period complete")

log.Infof("creating cluster %s for %s", strconv.Itoa(i), cluster.ClusterName)
payload, err := json.Marshal(cluster)
if err != nil {
Expand Down

0 comments on commit 9d53a99

Please sign in to comment.