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:
parent
308d304851
commit
d820d446c3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user