Skip to content

Commit 811d42d

Browse files
authored
fix exception and typo (#846)
1 parent b72ccb8 commit 811d42d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

kubernetes/container-azm-ms-agentconfig.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ data:
2727
# exclude_namespaces setting holds good only if enabled is set to true
2828
# kube-system,gatekeeper-system log collection are disabled by default in the absence of 'log_collection_settings.stderr' setting. If you want to enable kube-system,gatekeeper-system, remove them from the following setting.
2929
# If you want to continue to disable kube-system,gatekeeper-system log collection keep the namespaces in the following setting and add any other namespace you want to disable log collection to the array.
30-
# In the absense of this cofigmap, default value for exclude_namespaces = ["kube-system","gatekeeper-system"]
30+
# In the absense of this configmap, default value for exclude_namespaces = ["kube-system","gatekeeper-system"]
3131
exclude_namespaces = ["kube-system","gatekeeper-system"]
3232
3333
[log_collection_settings.env_var]

source/plugins/ruby/out_mdm.rb

+1
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ def send_to_mdm(post_body)
356356
if @proxy.nil? || @proxy.empty?
357357
http_client = Net::HTTP.new(@post_request_uri.host, @post_request_uri.port)
358358
else
359+
aks_resource_id = ENV["AKS_RESOURCE_ID"]
359360
@log.info "Proxy configured on this cluster: #{aks_resource_id}"
360361
http_client = Net::HTTP.new(@post_request_uri.host, @post_request_uri.port, @proxy[:addr], @proxy[:port], @proxy[:user], @proxy[:pass])
361362
end

0 commit comments

Comments
 (0)