From 0c9eaf1d5b4d81bdad92d8bdba491ce15b7f14e0 Mon Sep 17 00:00:00 2001 From: David Pacheco Date: Thu, 21 Dec 2023 22:47:11 -0800 Subject: [PATCH] fix one test --- nexus/db-model/src/inventory.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nexus/db-model/src/inventory.rs b/nexus/db-model/src/inventory.rs index f40296ef6a..e52e85fa6e 100644 --- a/nexus/db-model/src/inventory.rs +++ b/nexus/db-model/src/inventory.rs @@ -1149,10 +1149,10 @@ impl InvOmicronZoneNic { zone_id: Uuid, ) -> nexus_types::inventory::NetworkInterface { nexus_types::inventory::NetworkInterface { - id: zone_id, + id: self.id, ip: self.ip.ip(), kind: nexus_types::inventory::NetworkInterfaceKind::Service( - self.id, + zone_id, ), mac: (*self.mac).into(), name: (&(*self.name)).into(),