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

B #3058: Move pre_action into VMMAD module

(cherry picked from commit 94c88b4bed1ba978c1596ad6ed378473b6b008a2)
This commit is contained in:
Daniel Clavijo Coca 2019-03-26 02:31:37 -06:00 committed by Ruben S. Montero
parent 308d304851
commit d820d446c3
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -189,11 +189,11 @@ module VNMMAD
options
end
# Returns true if the driver is executing action pre
def self.pre_action?
File.basename($PROGRAM_NAME) == 'pre'
end
end
# Returns true if the driver is executing action pre
def self.pre_action?
File.basename($PROGRAM_NAME) == 'pre'
end
end