Skip to content

Conversation

@vinutha17
Copy link
Collaborator

Store failure details in DB

@CLAassistant
Copy link

CLAassistant commented Mar 19, 2019

CLA assistant check
All committers have signed the CLA.

@sdandam sdandam changed the title Update main.rs Update disk failed state to database Mar 19, 2019
let dev_name = state_machine.block_device.device.name.clone();

dev_path.push(state_machine.block_device.device.name);
// dev_path.push(state_machine.block_device.device.name);
Copy link
Collaborator

Choose a reason for hiding this comment

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

So I would just remove this commented line and if you want you can change the line above to remove the .clone() like this:

                let dev_name = &state_machine.block_device.device.name;
                dev_path.push(&dev_name)

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.

3 participants