From c784a6e4409883791224aac836e8de0db5e7b414 Mon Sep 17 00:00:00 2001 From: Josh Patterson Date: Mon, 10 Mar 2025 16:55:02 -0400 Subject: [PATCH] fix setting hypervisor for our custom event tag --- salt/orch/dyanno_hypervisor.sls | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/salt/orch/dyanno_hypervisor.sls b/salt/orch/dyanno_hypervisor.sls index fa6a2f2ff..8af529a5f 100644 --- a/salt/orch/dyanno_hypervisor.sls +++ b/salt/orch/dyanno_hypervisor.sls @@ -46,9 +46,10 @@ {% do salt.log.debug('dyanno_hypervisor_orch: Setting vm_name, hypervisor and status') %} {% set vm_name = status_data.get('vm_name') %} {% set hypervisor = status_data.get('hypervisor') %} +{% else %} +{% set hypervisor = data.get('id') %} {% endif %} {% set status = status_data.get('status') %} -{% set hypervisor = data.get('id') %} {% endif %} {# setup/so-minion tag #}