1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

F #5725: Fix typo on hook state to vnets (#2000)

(cherry picked from commit 652d364b55ccdcd86aa8f0062494eba8925ba418)
This commit is contained in:
Sergio Betanzos 2022-05-10 19:05:08 +02:00 committed by Tino Vazquez
parent 7fa6ad468d
commit e9492240e6
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -38,7 +38,7 @@ string HookStateVirtualNetwork::format_message(VirtualNetwork * vn)
oss << "<HOOK_MESSAGE>"
<< "<HOOK_TYPE>STATE</HOOK_TYPE>"
<< "<HOOK_OBJECT>NET</HOOK_OBJECT>"
<< "<HOOK_OBJECT>VNET</HOOK_OBJECT>"
<< "<STATE>" << VirtualNetwork::state_to_str(vn->get_state()) << "</STATE>"
<< "<RESOURCE_ID>" << vn->get_oid() << "</RESOURCE_ID>"
<< vn->to_xml(vn_xml)