Skip to content

Commit

Permalink
fixes linter
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzelei committed May 23, 2024
1 parent 4bc9f4d commit b33da21
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions backend/services/mgmt/v1alpha1/metrics-service/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ func getDailyUsageFromProm(ctx context.Context, api promv1.API, query string, st

var dates []string
for day := range dailyTotals {
fmt.Println("date", day)
dates = append(dates, day)
}
sort.Strings(dates)
Expand Down Expand Up @@ -308,10 +307,6 @@ func timeToDate(t time.Time) mgmtv1alpha1.Date {
}
}

func toDateKey(day *mgmtv1alpha1.Date) string {
return fmt.Sprintf("%d_%d_%d", day.Day, day.Month, day.Year)
}

func dateToTime(d *mgmtv1alpha1.Date) time.Time {
year := int(d.Year)
if year == 0 {
Expand Down

0 comments on commit b33da21

Please sign in to comment.