Skip to content

Commit 315543b

Browse files
fix: typo in true/false
1 parent 449f002 commit 315543b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nets/consumption/consumption.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (a *Consumption) apiCallCount(analytics_url string) {
6767
log.Log(alog.DEBUG, "%v", total)
6868
if total.Total > 0 {
6969
if formFactor == "ibm-cloud" {
70-
err := SendMetrics(True)
70+
err := SendMetrics(true)
7171
if err != nil {
7272
log.Log(alog.ERROR, "Error sending metrics:", err)
7373
} else {
@@ -78,7 +78,7 @@ func (a *Consumption) apiCallCount(analytics_url string) {
7878
healthStatus.WithLabelValues("API Calls", a.Config.CrnMask).Set(float64(1))
7979
} else {
8080
if formFactor == "ibm-cloud" {
81-
err := SendMetrics(False)
81+
err := SendMetrics(false)
8282
if err != nil {
8383
log.Log(alog.ERROR, "Error sending metrics:", err)
8484
} else {

0 commit comments

Comments
 (0)