Skip to content

Commit 4287a89

Browse files
committed
handle casing of all_k8s_namespaces
1 parent 15df109 commit 4287a89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/plugins/go/src/oms.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1976,7 +1976,7 @@ func writeMsgPackEntries(connection net.Conn, isContainerLogV2Schema bool, fluen
19761976
}
19771977
} else {
19781978
if IsAzMonMultiTenancyFallbackIngestionDisabled {
1979-
Log("Info::ama:: streamTag is empty for namespace: %s and fallback ingestion disabled hence skipping the logs \n", namespace)
1979+
Log("Info::ama:: streamTag is empty for namespace: %s and fallback ingestion disabled hence skipping the logs to default container insights extension stream \n", namespace)
19801980
continue
19811981
} else {
19821982
Log("Info::ama:: streamTag is empty for namespace: %s hence using default workspace stream id: %s \n", namespace, fluentForwardTag)
@@ -1992,8 +1992,8 @@ func writeMsgPackEntries(connection net.Conn, isContainerLogV2Schema bool, fluen
19921992
}
19931993
}
19941994
// handle if DCR has _ALL_K8S_NAMESPACES_
1995-
if streamTags, exists := namespaceStreamIdsMap["_ALL_K8S_NAMESPACES_"]; exists {
1996-
Log("Info::ama:: namespace : _All_K8S_NAMESPACES streamTags: %s \n", strings.Join(streamTags, ", "))
1995+
if streamTags, exists := namespaceStreamIdsMap["_all_k8s_namespaces_"]; exists {
1996+
Log("Info::ama:: namespace : _All_K8S_NAMESPACES_ streamTags: %s \n", strings.Join(streamTags, ", "))
19971997
for _, streamTag := range streamTags {
19981998
if IsWindows {
19991999
bts, er = writeMsgPackEntriesToNamedPipeConnection(streamTag, msgPackEntries, streamIdNamedPipeMap)

0 commit comments

Comments
 (0)