Skip to content

Commit 6acf7e3

Browse files
committed
chore(logging/syslogng): rename metrics probe destination key to destination_name
This is done to unify metrics probe keys name. Please note that is is a breaking change. Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
1 parent 5bc0ea2 commit 6acf7e3

File tree

1 file changed

+1
-1
lines changed
  • pkg/sdk/logging/model/syslogng/config

1 file changed

+1
-1
lines changed

pkg/sdk/logging/model/syslogng/config/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func destinationLogPath(dest destination) render.Renderer {
7474
}
7575
if v, ok := m.Labels["destination"]; !ok || v != "" {
7676
// syslog-ng terminology for output
77-
m.Labels["destination"] = dest.Name
77+
m.Labels["destination_name"] = dest.Name
7878
}
7979
if v, ok := m.Labels["output_name"]; !ok || v != "" {
8080
// logging-operator terminology for output

0 commit comments

Comments
 (0)