Skip to content

Commit

Permalink
Merge pull request #849 from Altinity/switch_to_github_actions
Browse files Browse the repository at this point in the history
hotfixes after #846
  • Loading branch information
Slach committed Dec 24, 2021
2 parents b9e68ee + 93769e9 commit 7ecb589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_branch.yaml
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build_master:
name: Build master
name: Build branch
runs-on: ubuntu-latest
steps:
- name: Checkout project
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/metrics/prometheus_writer.go
Expand Up @@ -238,5 +238,5 @@ func convertMetricName(in string) string {
out = append(out, unicode.ToLower(runes[i]))
}*/

return strings.NewReplacer("-","_",".","_").Replace()
return strings.NewReplacer("-", "_", ".", "_").Replace(in)
}

0 comments on commit 7ecb589

Please sign in to comment.