diff --git a/mirrord/config/src/lib.rs b/mirrord/config/src/lib.rs index 256d33b2799..40ad27f89b8 100644 --- a/mirrord/config/src/lib.rs +++ b/mirrord/config/src/lib.rs @@ -340,7 +340,7 @@ impl LayerConfig { .map_err(|error| ConfigError::EnvVarDecodeError(error.to_string()))?; let serialized = std::str::from_utf8(&decoded) .map_err(|error| ConfigError::EnvVarDecodeError(error.to_string()))?; - Ok(serde_json::from_str::(&serialized)?) + Ok(serde_json::from_str::(serialized)?) } pub fn to_env_var(&self) -> Result {