mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
L #-: Linting new hook log file
This commit is contained in:
2 files changed
+9
-2
No files matched your search
@@ -813,6 +813,9 @@ Naming/ConstantName:
|
||||
Naming/HeredocDelimiterNaming:
|
||||
Enabled: false
|
||||
|
||||
Naming/UncommunicativeMethodParamName:
|
||||
Enabled: false
|
||||
|
||||
###
|
||||
# Bundler
|
||||
####
|
||||
|
||||
@@ -52,7 +52,11 @@ module OpenNebula
|
||||
#######################################################################
|
||||
|
||||
def info(min_ts, max_ts, hook_id, rc)
|
||||
rc = @client.call(HOOK_LOG_METHODS[:info], min_ts, max_ts, hook_id, rc)
|
||||
rc = @client.call(HOOK_LOG_METHODS[:info],
|
||||
min_ts,
|
||||
max_ts,
|
||||
hook_id,
|
||||
rc)
|
||||
|
||||
if !OpenNebula.is_error?(rc)
|
||||
initialize_xml(rc, ROOT_NAME)
|
||||
@@ -60,7 +64,7 @@ module OpenNebula
|
||||
rc = nil
|
||||
end
|
||||
|
||||
return rc
|
||||
rc
|
||||
end
|
||||
|
||||
alias :info! info
|
||||
|
||||
Reference in new issue
Block a user