refactor: from string impl
Remove redudant impl's, use `.as_str()`
This commit is contained in:
@@ -216,7 +216,7 @@ impl DockerData {
|
||||
(
|
||||
i.state == Some("running".to_owned())
|
||||
|| i.state == Some("restarting".to_owned()),
|
||||
ContainerId::from(id),
|
||||
ContainerId::from(id.as_str()),
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user