Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Simplify Snapshot structure #2222

Merged
merged 1 commit into from
Sep 8, 2020
Merged

Simplify Snapshot structure #2222

merged 1 commit into from
Sep 8, 2020

Conversation

ip1981
Copy link
Member

@ip1981 ip1981 commented Sep 7, 2020

Don't need detailed views

Signed-off-by: Igor Pashev pashev.igor@gmail.com


This change is Reviewable

@ip1981 ip1981 requested a review from a team September 7, 2020 11:37
@ip1981 ip1981 self-assigned this Sep 7, 2020
"not mount" => Some(Status::NotMounted),
let mounted = match status.as_str() {
"mounted" => Some(true),
"not mount" => Some(false),
_ => None,
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

@ip1981 ip1981 Sep 7, 2020

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"),
    };

mkpankov
mkpankov previously approved these changes Sep 7, 2020
Copy link
Contributor

@mkpankov mkpankov left a 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)

@jgrund
Copy link
Member

jgrund commented Sep 7, 2020

This has conflicts on master.

Don't need detailed views

Signed-off-by: Igor Pashev <pashev.igor@gmail.com>
Copy link
Contributor

@mkpankov mkpankov left a 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)

@jgrund jgrund merged commit 4fe02d3 into master Sep 8, 2020
@jgrund jgrund deleted the ip1981/snapshot-deflate branch September 8, 2020 13:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants