mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
destroy all warnings
make idiomatic binding elision remove unused struct line item put back warning about not handling mdns errors T.T
This commit is contained in:
committed by
Aiden McClelland
parent
adeaabfa5f
commit
da9fa31cff
@@ -152,7 +152,6 @@ impl NginxControllerInner {
|
||||
match self.interfaces.get_mut(&package) {
|
||||
None => {
|
||||
let info = PackageNetInfo {
|
||||
_ip: ipv4,
|
||||
interfaces: interface_map,
|
||||
};
|
||||
self.interfaces.insert(package, info);
|
||||
@@ -225,7 +224,6 @@ impl NginxControllerInner {
|
||||
}
|
||||
}
|
||||
struct PackageNetInfo {
|
||||
_ip: Ipv4Addr,
|
||||
interfaces: BTreeMap<InterfaceId, InterfaceMetadata>,
|
||||
}
|
||||
pub struct InterfaceMetadata {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use std::cmp::Ordering;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::path::Path;
|
||||
|
||||
use color_eyre::eyre::eyre;
|
||||
use futures::FutureExt;
|
||||
|
||||
Reference in New Issue
Block a user