Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <[email protected]>
  • Loading branch information
TheBigLee committed Dec 19, 2023
1 parent 381f96f commit 42398b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/cmd/cloudscale.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ func CloudscaleCmds() *cli.Command {

if len(metrics) == 0 {
logger.Info("No data to export to odoo", "date", billingDate)
time.Sleep(time.Hour)
continue
}

Expand All @@ -143,9 +144,9 @@ func CloudscaleCmds() *cli.Command {
if err != nil {
logger.Error(err, "could not export cloudscale bucket metrics")
}
time.Sleep(time.Hour * time.Duration(collectInterval))
}

time.Sleep(time.Hour * time.Duration(collectInterval))
time.Sleep(time.Hour)
}
}()
wg.Wait()
Expand Down

0 comments on commit 42398b8

Please sign in to comment.