Skip to content

Commit

Permalink
fix: issues from merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockopp committed Apr 22, 2023
1 parent 5206e3e commit d930b22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ func recordGauges(c *gin.Context) {
// service_image_count
if q.ServiceImageCount {
// send API call to capture the total number of service images
serviceImageMap, err := database.FromContext(c).ListStepImageCount()
serviceImageMap, err := database.FromContext(c).ListServiceImageCount()
if err != nil {
logrus.Errorf("unable to get count of all service images: %v", err)
}
Expand All @@ -363,7 +363,7 @@ func recordGauges(c *gin.Context) {
// service_status_count
if q.ServiceStatusCount {
// send API call to capture the total number of service statuses
serviceStatusMap, err := database.FromContext(c).ListStepStatusCount()
serviceStatusMap, err := database.FromContext(c).ListServiceStatusCount()
if err != nil {
logrus.Errorf("unable to get count of all service statuses: %v", err)
}
Expand Down

0 comments on commit d930b22

Please sign in to comment.