-
Notifications
You must be signed in to change notification settings - Fork 727
[cli] Info For No Active Mounts #2124
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
Conversation
[tests] no mounts.
[cli] adding empty mount info.
[cli] outputs "--" when no active mounts.
Codecov Report
@@ Coverage Diff @@
## main #2124 +/- ##
=======================================
Coverage 81.86% 81.86%
=======================================
Files 184 184
Lines 9455 9458 +3
=======================================
+ Hits 7740 7743 +3
Misses 1715 1715
Continue to review full report at Codecov.
|
[cli] removed extra braces.
[cli] removed extra braces and white space.
bors try |
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.
LGTM
bors merge
2124: [cli] Info For No Active Mounts r=townsend2010 a=surahman **_Issue #2108:_** Should output `--` when no active mounts are available in conformity with `table` output for other unavailable information: https://github.com/surahman/multipass/blob/5f9ba4bd6db5fa31f59cbae0fbbf8fb3556e2d29/tests/test_output_formatter.cpp#L431-L452 The other formatters seem to already handle this situation. `YAML` outputs its `null` indicator as a tilde `~` character, `JSON` will create a `null` sub-record, and `CSV` will output an empty field. Co-authored-by: Saad Ur Rahman <[email protected]>
tryBuild succeeded: |
Build failed: |
bors retry |
2124: [cli] Info For No Active Mounts r=townsend2010 a=surahman **_Issue #2108:_** Should output `--` when no active mounts are available in conformity with `table` output for other unavailable information: https://github.com/surahman/multipass/blob/5f9ba4bd6db5fa31f59cbae0fbbf8fb3556e2d29/tests/test_output_formatter.cpp#L431-L452 The other formatters seem to already handle this situation. `YAML` outputs its `null` indicator as a tilde `~` character, `JSON` will create a `null` sub-record, and `CSV` will output an empty field. Co-authored-by: Saad Ur Rahman <[email protected]>
Build failed: |
Try it again: bors retry |
2124: [cli] Info For No Active Mounts r=townsend2010 a=surahman **_Issue #2108:_** Should output `--` when no active mounts are available in conformity with `table` output for other unavailable information: https://github.com/surahman/multipass/blob/5f9ba4bd6db5fa31f59cbae0fbbf8fb3556e2d29/tests/test_output_formatter.cpp#L431-L452 The other formatters seem to already handle this situation. `YAML` outputs its `null` indicator as a tilde `~` character, `JSON` will create a `null` sub-record, and `CSV` will output an empty field. Co-authored-by: Saad Ur Rahman <[email protected]>
Build failed: |
Ok, this is the last time, otherwise I'm just going to merge manually. bors retry |
Build failed: |
Ok, I'm bored with bors. Will merge this manually. |
Issue #2108:
Should output
--
when no active mounts are available in conformity withtable
output for other unavailable information:https://github.com/surahman/multipass/blob/5f9ba4bd6db5fa31f59cbae0fbbf8fb3556e2d29/tests/test_output_formatter.cpp#L431-L452
The other formatters seem to already handle this situation.
YAML
outputs itsnull
indicator as a tilde~
character,JSON
will create anull
sub-record, andCSV
will output an empty field.