Skip to content

[33/n] [nexus-types] add displayers for zone image resolver status - #8619

Merged
sunshowers merged 5 commits into
mainfrom
sunshowers/spr/33n-nexus-types-add-displayers-for-zone-image-resolver-status
Jul 19, 2025
Merged

sunshowers merged 5 commits into
mainfrom
sunshowers/spr/33n-nexus-types-add-displayers-for-zone-image-resolver-status

Conversation

@sunshowers

@sunshowers sunshowers commented Jul 17, 2025 •

Copy link
Copy Markdown
Contributor

Realized that we were missing displayers for the zone image resolver. Write these out, and also test them through reconfigurator-cli via the beginnings of a test for the mupdate/update flow.

Depends on:

Created using spr 1.3.6-beta.1

[skip ci]
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
Comment on lines +358 to +361
let f = indented.into_inner();

writeln!(f, "mupdate override:")?;
let mut indented = IndentWriter::new(" ", f);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could get a ref to the inner writer to avoid needing to recreate indented?

Suggested change
let f = indented.into_inner();
writeln!(f, "mupdate override:")?;
let mut indented = IndentWriter::new(" ", f);
writeln!(indented.get_ref(), "mupdate override:")?;

Maybe that's actually less clear though. Your call

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get_ref returns a shared reference, but we need a mutable ref here unfortunately.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, right 🤦

@sunshowers
sunshowers changed the base branch from sunshowers/spr/main.33n-nexus-types-add-displayers-for-zone-image-resolver-status to main July 18, 2025 19:30
Created using spr 1.3.6-beta.1
@sunshowers
sunshowers enabled auto-merge (squash) July 18, 2025 19:31
Created using spr 1.3.6-beta.1
@sunshowers
sunshowers merged commit 772a685 into main Jul 19, 2025
@sunshowers
sunshowers deleted the sunshowers/spr/33n-nexus-types-add-displayers-for-zone-image-resolver-status branch July 19, 2025 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants