R.B. Boyer 7f9ed032fd
agent: remove data race in agent config (#20200)
To fix an issue displaying the current reloaded config in the 
v1/agent/self endpoint #18681 caused the agent's internal 
config struct member to be deepcopied and replaced on reload.

This is not safe because the field is not protected by a lock, nor 
should it be due to how it is accessed by the rest of the system.

This PR does the same deepcopy, but into a new field solely for 
the point of capturing the current reloaded values for display 
purposes. If there has been no reload then the original config is used.
2024-01-12 15:11:21 -06:00
..
2023-10-10 10:58:06 -04:00
2024-01-12 11:54:07 -05:00
2023-10-10 10:58:06 -04:00
2024-01-12 11:54:07 -05:00
2024-01-12 11:54:07 -05:00
2024-01-12 11:54:07 -05:00
2024-01-12 11:54:07 -05:00
2023-10-10 10:58:06 -04:00
2023-10-10 10:58:06 -04:00
2023-08-11 09:12:13 -04:00
2023-10-10 10:58:06 -04:00
2023-08-11 09:12:13 -04:00
2023-10-10 10:58:06 -04:00
2023-10-10 10:58:06 -04:00
2023-10-10 10:58:06 -04:00
2023-12-06 12:11:32 -05:00
2023-11-07 10:15:50 -06:00
2023-12-06 12:11:32 -05:00
2023-10-10 10:58:06 -04:00
2023-10-10 10:58:06 -04:00
2023-08-11 09:12:13 -04:00