We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c41071c commit 54fbd78Copy full SHA for 54fbd78
kubernetes/linux/main.sh
@@ -494,10 +494,10 @@ source common_agent_config_env_var
494
495
# check if high log scale mode enabled
496
if isHighLogScaleMode; then
497
- echo "Enabled High Log Scale Mode"
498
- export IS_HIGH_LOG_SCALE_MODE=true
499
- echo "export IS_HIGH_LOG_SCALE_MODE=$IS_HIGH_LOG_SCALE_MODE" >>~/.bashrc
500
- source ~/.bashrc
+ echo "Enabled High Log Scale Mode"
+ setGlobalEnvVar IS_HIGH_LOG_SCALE_MODE true
+else
+ setGlobalEnvVar IS_HIGH_LOG_SCALE_MODE false
501
fi
502
503
#Parse the configmap to set the right environment variables for agent config.
0 commit comments