Skip to content

Commit

Permalink
fix(cache): delete metrics before updating cache (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime1907 authored Oct 2, 2024
1 parent 6b3c797 commit 27ead6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/network/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func setupCacheUpdater(ovhClient *ovh.Client) {
defer ticker.Stop()

for {
cloudProjectInstanceBilling.Reset()
updateCloudProviderInstanceBilling(ovhClient)

<-ticker.C
Expand Down

0 comments on commit 27ead6d

Please sign in to comment.