From 73594e28148b7e4d0023d2137a9b343e68c353c2 Mon Sep 17 00:00:00 2001 From: karencfv Date: Fri, 26 Jul 2024 13:46:25 +1200 Subject: [PATCH] fmt --- illumos-utils/src/smf_helper.rs | 7 +------ sled-agent/src/services.rs | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/illumos-utils/src/smf_helper.rs b/illumos-utils/src/smf_helper.rs index ce96ef6666..2c24ceaa4d 100644 --- a/illumos-utils/src/smf_helper.rs +++ b/illumos-utils/src/smf_helper.rs @@ -203,12 +203,7 @@ impl<'t> SmfHelper<'t> { pub fn refresh(&self) -> Result<(), Error> { self.running_zone - .run_cmd(&[ - SVCCFG, - "-s", - &self.default_smf_name, - "refresh", - ]) + .run_cmd(&[SVCCFG, "-s", &self.default_smf_name, "refresh"]) .map_err(|err| Error::ZoneCommand { intent: format!( "Refresh SMF manifest {}", diff --git a/sled-agent/src/services.rs b/sled-agent/src/services.rs index c0532a91c3..b62350ca93 100644 --- a/sled-agent/src/services.rs +++ b/sled-agent/src/services.rs @@ -35,7 +35,6 @@ use crate::params::{ ZoneBundleCause, ZoneBundleMetadata, }; use crate::profile::*; -use illumos_utils::smf_helper::SmfHelper; use crate::zone_bundle::BundleError; use crate::zone_bundle::ZoneBundler; use anyhow::anyhow; @@ -55,6 +54,7 @@ use illumos_utils::running_zone::{ EnsureAddressError, InstalledZone, RunCommandError, RunningZone, ZoneBuilderFactory, }; +use illumos_utils::smf_helper::SmfHelper; use illumos_utils::zfs::ZONE_ZFS_RAMDISK_DATASET_MOUNTPOINT; use illumos_utils::zone::AddressRequest; use illumos_utils::zpool::{PathInPool, ZpoolName};