From a1893e955dc58bbf96f1a1a6558a6153490c3f85 Mon Sep 17 00:00:00 2001 From: Drew Bomhof Date: Mon, 13 Nov 2017 15:26:30 -0500 Subject: [PATCH] Added a Maintenance key to the hash struct https://bugzilla.redhat.com/show_bug.cgi?id=1506268 --- app/models/miq_request_workflow.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/miq_request_workflow.rb b/app/models/miq_request_workflow.rb index 1072d3e099c..881b90542a0 100644 --- a/app/models/miq_request_workflow.rb +++ b/app/models/miq_request_workflow.rb @@ -978,7 +978,7 @@ def ci_to_hash_struct(ci) end def host_to_hash_struct(ci) - build_ci_hash_struct(ci, [:name, :vmm_product, :vmm_version, :state, :v_total_vms]) + build_ci_hash_struct(ci, [:name, :vmm_product, :vmm_version, :state, :v_total_vms, :maintenance]) end def vm_or_template_to_hash_struct(ci)