Skip to content

Commit

Permalink
fix: inc image cache counter
Browse files Browse the repository at this point in the history
  • Loading branch information
djpiper28 committed Mar 4, 2024
1 parent b1a4839 commit f41ce7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kube_cache/server/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func (s *Server) GetKubeImage(c *gin.Context) {
c.Data(200, "image/png", image)
c.Header("Cache-Control", cacheControlHeader)
s.Metrics.IncrementCacheHits()
s.Metrics.IncrementImagesRetrieved()
}

func (s *Server) GetAllKubes(c *gin.Context) {
Expand Down

0 comments on commit f41ce7e

Please sign in to comment.