Skip to content

Commit

Permalink
Merge pull request #23 from gowizzard/development
Browse files Browse the repository at this point in the history
fix: Change to strings replace function.
  • Loading branch information
gowizzard authored Apr 10, 2024
2 parents 9775e50 + 21dd6dc commit b02f88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/handler/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func Metrics(w http.ResponseWriter, _ *http.Request) {
},
{
Key: "name",
Value: container.Name[1:],
Value: strings.Replace(container.Name, "/", "", 1),
},
{
Key: "image",
Expand Down

0 comments on commit b02f88d

Please sign in to comment.