From 30dc9afb0a533b4c83bbba3a6f48e1c3a5108846 Mon Sep 17 00:00:00 2001 From: zhaoke Date: Fri, 17 Mar 2023 11:03:21 +0800 Subject: [PATCH] - Remove repeat var. --- api/v1/entries/hostheartbeat.php | 1 - 1 file changed, 1 deletion(-) diff --git a/api/v1/entries/hostheartbeat.php b/api/v1/entries/hostheartbeat.php index 186a72b8f2..100d5d0199 100644 --- a/api/v1/entries/hostheartbeat.php +++ b/api/v1/entries/hostheartbeat.php @@ -101,7 +101,6 @@ class hostHeartbeatEntry extends baseEntry if($vm->status == 'running' && !$isPhysicsNode) { - $node = $this->loadModel('zanode')->getNodeByMac($vm->macAddress); if(!empty($node)) { $snaps = $this->loadModel('zanode')->getSnapshotList($node->id);