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

L #-: Fix literal string cop warning

This commit is contained in:
Tino Vazquez 2022-04-21 16:49:05 +02:00 committed by Ruben S. Montero
parent d87838704a
commit a321aff1c4
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -71,7 +71,7 @@ begin
last_action = vm['HISTORY_RECORDS/HISTORY[last()]/ACTION']
last_action_str = OpenNebula::VirtualMachine.get_history_action(last_action)
exit 0 if last_action_str == "stop"
exit 0 if last_action_str == 'stop'
src_ds = vm.retrieve_elements('HISTORY_RECORDS/HISTORY/DS_ID')[-2]