diff --git a/crates/fluvio/src/config/cluster.rs b/crates/fluvio/src/config/cluster.rs index 0bca363365..0fda397697 100644 --- a/crates/fluvio/src/config/cluster.rs +++ b/crates/fluvio/src/config/cluster.rs @@ -67,7 +67,7 @@ impl FluvioConfig { where T: Deserialize<'de>, { - let mut metadata = self.metadata.as_ref().unwrap(); + let mut metadata = self.metadata.as_ref()?; let (path, key) = { let mut split = path.split(&['[', ']']);