1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-10 01:17:40 +03:00

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

This reverts commit e9492240e6.

(cherry picked from commit cb76774887)
This commit is contained in:
Pavel Czerný 2022-06-27 10:21:35 +02:00 committed by Ruben S. Montero
parent b647180722
commit 75d0e0a3aa
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

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