Skip to content

Commit b7f7904

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 b7f7904

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ func destinationLogPath(dest destination) render.Renderer {
7272
if m.Labels == nil {
7373
m.Labels = make(filter.ArrowMap)
7474
}
75-
if v, ok := m.Labels["destination"]; !ok || v != "" {
75+
if v, ok := m.Labels["destination_name"]; !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)