-
Notifications
You must be signed in to change notification settings - Fork 37
Conversation
63c2663
to
665287f
Compare
"not mount" => Some(Status::NotMounted), | ||
let mounted = match status.as_str() { | ||
"mounted" => Some(true), | ||
"not mount" => Some(false), | ||
_ => None, |
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.
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.
Updated:
let mounted = match status.as_str() {
"mounted" => Some(true),
"not mount" => Some(false),
"unknown" => None,
_ => return Err("mounted, not mount, unknown"),
};
665287f
to
3d3aadb
Compare
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.
Reviewed 6 of 7 files at r1, 1 of 1 files at r2.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @jgrund)
This has conflicts on master. |
Don't need detailed views Signed-off-by: Igor Pashev <pashev.igor@gmail.com>
3d3aadb
to
fd1ab20
Compare
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.
Reviewed 2 of 2 files at r3.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @jgrund)
Don't need detailed views
Signed-off-by: Igor Pashev pashev.igor@gmail.com
This change is