From 2724da86f6fe866c977944dad6b886811a5883c3 Mon Sep 17 00:00:00 2001 From: "Adam H. Leventhal" Date: Wed, 22 May 2024 16:46:35 -0700 Subject: [PATCH] lint --- nexus/db-queries/src/db/datastore/rack.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/nexus/db-queries/src/db/datastore/rack.rs b/nexus/db-queries/src/db/datastore/rack.rs index 39b8704dbc..b8275b56d4 100644 --- a/nexus/db-queries/src/db/datastore/rack.rs +++ b/nexus/db-queries/src/db/datastore/rack.rs @@ -1970,8 +1970,7 @@ mod test { name: "nexus".parse().unwrap(), ip: nexus_pip.into(), mac: macs.next().unwrap(), - subnet: IpNet::from(*NEXUS_OPTE_IPV4_SUBNET) - .into(), + subnet: IpNet::from(*NEXUS_OPTE_IPV4_SUBNET), vni: Vni::SERVICES_VNI, primary: true, slot: 0, @@ -2073,8 +2072,7 @@ mod test { name: "external-dns".parse().unwrap(), ip: external_dns_pip.into(), mac: macs.next().unwrap(), - subnet: IpNet::from(*DNS_OPTE_IPV4_SUBNET) - .into(), + subnet: IpNet::from(*DNS_OPTE_IPV4_SUBNET), vni: Vni::SERVICES_VNI, primary: true, slot: 0, @@ -2105,8 +2103,7 @@ mod test { mac: macs.next().unwrap(), subnet: IpNet::from( *NEXUS_OPTE_IPV4_SUBNET, - ) - .into(), + ), vni: Vni::SERVICES_VNI, primary: true, slot: 0,