Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
karencfv committed Jul 26, 2024
1 parent de675fe commit 73594e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions illumos-utils/src/smf_helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}",
Expand Down
2 changes: 1 addition & 1 deletion sled-agent/src/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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};
Expand Down

0 comments on commit 73594e2

Please sign in to comment.