File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ startAMACoreAgent() {
7979 echo " export PA_CONFIG_PORT=$PA_CONFIG_PORT "
8080 echo " export CounterDataReportFrequencyInMinutes=$CounterDataReportFrequencyInMinutes "
8181 echo " export AMACALogFilePath=$AMACALogFilePath "
82- } >> ~ /.bashrc
82+ } >> ~ /.bashrc
8383
8484 if isOpenTelemetryLogsEnabled; then
8585 export PA_AMCS_PROTOCOL=" HttpProtobuf"
@@ -92,7 +92,7 @@ startAMACoreAgent() {
9292 export PA_AMCS_PORT=$port_int
9393 fi
9494 fi
95-
95+
9696 {
9797 echo " export PA_AMCS_PROTOCOL=$PA_AMCS_PROTOCOL "
9898 echo " export PA_AMCS_PORT=$PA_AMCS_PORT "
@@ -522,9 +522,9 @@ source common_agent_config_env_var
522522# check if high log scale mode enabled
523523if isHighLogScaleMode; then
524524 echo " Enabled High Log Scale Mode"
525- export IS_HIGH_LOG_SCALE_MODE= true
526- echo " export IS_HIGH_LOG_SCALE_MODE= $IS_HIGH_LOG_SCALE_MODE " >> ~/.bashrc
527- source ~ /.bashrc
525+ setGlobalEnvVar IS_HIGH_LOG_SCALE_MODE true
526+ else
527+ setGlobalEnvVar IS_HIGH_LOG_SCALE_MODE false
528528fi
529529
530530# Parse the configmap to set the right environment variables for agent config.
You can’t perform that action at this time.
0 commit comments