Skip to content

Commit

Permalink
Use test-configured mountpoint root for datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Nov 20, 2024
1 parent 48790e5 commit 034856d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sled-storage/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -955,8 +955,8 @@ impl StorageManager {
err: None,
};

let mountpoint_path =
config.name.mountpoint(ZPOOL_MOUNTPOINT_ROOT.into());
let mountpoint_root = &self.resources.disks().mount_config().root;
let mountpoint_path = config.name.mountpoint(mountpoint_root);
let details = DatasetCreationDetails {
zoned: config.name.dataset().zoned(),
mountpoint: Mountpoint::Path(mountpoint_path),
Expand Down

0 comments on commit 034856d

Please sign in to comment.