Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
labbott committed Sep 18, 2024
1 parent 1a4b8b8 commit 3749ff7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
5 changes: 1 addition & 4 deletions update-common/src/artifacts/update_plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,7 @@ impl<'a> UpdatePlanBuilder<'a> {
read_hubris_sign_from_archive(artifact_id, data.clone())?;

self.rot_by_sign
.entry(RotSignData {
kind: artifact_kind,
sign: bootloader_sign,
})
.entry(RotSignData { kind: artifact_kind, sign: bootloader_sign })
.or_default()
.push(artifact_id.clone());

Expand Down
3 changes: 1 addition & 2 deletions wicket/src/state/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ pub struct RackUpdateState {
pub items: BTreeMap<ComponentId, UpdateItem>,
pub system_version: Option<SemverVersion>,
pub artifacts: Vec<(ArtifactId, Option<Vec<u8>>)>,
pub artifact_versions:
BTreeMap<KnownArtifactKind, ArtifactVersions>,
pub artifact_versions: BTreeMap<KnownArtifactKind, ArtifactVersions>,
// The update item currently selected is recorded in
// state.rack_state.selected.
pub status_view_displayed: bool,
Expand Down
5 changes: 1 addition & 4 deletions wicket/src/ui/panes/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2400,10 +2400,7 @@ type ArtifactVersions = Vec<(SemverVersion, Option<Vec<u8>>)>;
fn artifact_version(
id: &ComponentId,
update_component: UpdateComponent,
versions: &BTreeMap<
KnownArtifactKind,
ArtifactVersions,
>,
versions: &BTreeMap<KnownArtifactKind, ArtifactVersions>,
inventory: &Inventory,
) -> String {
let (artifact, multiple) = match (id, update_component) {
Expand Down

0 comments on commit 3749ff7

Please sign in to comment.