Skip to content

Commit

Permalink
Patch paths moving in b86fc4b
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Oct 31, 2024
1 parent b86fc4b commit d11d6ca
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions sled-agent/src/sled_agent/support_bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ use futures::StreamExt;
use omicron_common::api::external::Error as ExternalError;
use omicron_common::disk::CompressionAlgorithm;
use omicron_common::disk::DatasetConfig;
use omicron_common::disk::NestedDatasetConfig;
use omicron_common::disk::NestedDatasetLocation;
use omicron_common::disk::SharedDatasetConfig;
use omicron_common::update::ArtifactHash;
use omicron_uuid_kinds::DatasetUuid;
Expand All @@ -24,7 +22,9 @@ use range_requests::PotentialRange;
use range_requests::SingleRange;
use sha2::{Digest, Sha256};
use sled_agent_api::*;
use sled_storage::manager::NestedDatasetConfig;
use sled_storage::manager::NestedDatasetListOptions;
use sled_storage::manager::NestedDatasetLocation;
use std::io::Read;
use std::io::Seek;
use std::io::Write;
Expand Down Expand Up @@ -212,10 +212,8 @@ impl SledAgent {
) -> Result<Vec<SupportBundleMetadata>, Error> {
let root =
self.get_configured_dataset(zpool_id, dataset_id).await?.name;
let dataset_location = omicron_common::disk::NestedDatasetLocation {
path: String::from(""),
root,
};
let dataset_location =
NestedDatasetLocation { path: String::from(""), root };
let datasets = self
.storage()
.nested_dataset_list(
Expand Down

0 comments on commit d11d6ca

Please sign in to comment.