-
Notifications
You must be signed in to change notification settings - Fork 62
[31/n] [reconfigurator-cli] add inventory-show command #8617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[31/n] [reconfigurator-cli] add inventory-show command #8617
Conversation
Created using spr 1.3.6-beta.1 [skip ci]
Created using spr 1.3.6-beta.1
| ORPHANED DATASETS | ||
|
|
||
| sled 2eb69596-f081-4e2d-9425-9994926e0832 (serial serial1) | ||
| no orphaned datasets | ||
|
|
||
| sled 32d8d836-4d8a-4e54-8fa9-f31d79c42646 (serial serial2) | ||
| no orphaned datasets | ||
|
|
||
| sled 89d02b1b-478c-401a-8e28-7a26f74fa41b (serial serial0) | ||
| no orphaned datasets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(This comment is about #8613 but is easier to show here.)
This is the section I think we don't want by default, since this is already reported inside the ledgered config results of each sled above. But we want to be able to ask for this section on its own, so we have a quick way to check for orphans.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in #8613 -- thanks!
| " found at: {} from {}", | ||
| sled.time_collected, sled.source | ||
| sled.time_collected | ||
| .to_rfc3339_opts(SecondsFormat::Millis, /* use_z */ true), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hah, I had made this exact same change before realizing it wasn't enough and filing #8611 👍
Created using spr 1.3.6-beta.1
Use the display logic implemented in #8613 to show inventory collections in reconfigurator-cli.
I had to change some of the timestamps to be in RFC 3339 format to allow redactions to work properly.
Depends on:
Kind of addresses #8611, in the sense that we now have tests that render collection output and ensure it looks reasonable.