diff --git a/sled-agent/src/services.rs b/sled-agent/src/services.rs index bc5ba370da1..0f1dfefcfb4 100644 --- a/sled-agent/src/services.rs +++ b/sled-agent/src/services.rs @@ -3822,25 +3822,25 @@ impl ServiceManager { }; info!(self.inner.log, "Setting up uplinkd service"); - let smfh = SmfHelper::new(&zone, &SwitchService::Uplink); + let usmfh = SmfHelper::new(&zone, &SwitchService::Uplink); // We want to delete all the properties in the `uplinks` group, but we // don't know their names, so instead we'll delete and recreate the // group, then add all our properties. - smfh.delpropgroup("uplinks")?; - smfh.addpropgroup("uplinks", "application")?; + usmfh.delpropgroup("uplinks")?; + usmfh.addpropgroup("uplinks", "application")?; for port_config in &our_ports { for addr in &port_config.addrs { info!(self.inner.log, "configuring port: {port_config:?}"); - smfh.addpropvalue_type( + usmfh.addpropvalue_type( &format!("uplinks/{}_0", port_config.port,), &addr.to_string(), "astring", )?; } } - smfh.refresh()?; + usmfh.refresh()?; Ok(()) }