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

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

This reverts commit e9492240e6221997b3433311186459be772c3d67.
This commit is contained in:
Pavel Czerný 2022-06-27 10:21:35 +02:00 committed by GitHub
parent 356a42b060
commit cb76774887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)