apply_env_overlay

Function apply_env_overlay 

Source
pub fn apply_env_overlay(merged: &mut Value, mode: EnvOverlayMode)
Expand description

Relocates flat environment-variable keys in merged into the nested slots the Datadog deserializer reads, according to mode.

Operates on the caller’s owned merged value; it never touches the shared source map. Apply it only to the value fed to DatadogConfiguration: the table covers only supported Datadog keys.