Skip to content
Snippets Groups Projects

Topic/default/deprecation cleanup

Merged Florent Aide requested to merge topic/default/deprecationCleanup into branch/default
Files
6
@@ -27,7 +27,11 @@ func init() {
"api_version": "{{ .Info.Version }}",
}, prometheus.DefaultRegisterer)
{{ if gt (len .Tags) 0 }}
{{range .OperationGroups}}
{{ .Name }}.RegisterPrometheus(reg)
{{- end}}
{{- else }}
RegisterPrometheus(reg)
{{- end }}
}
Loading