L #-: Linting new hook log file

This commit is contained in:
Tino Vazquez committed 2019-09-19 16:28:59 +02:00
1 parent 6146593db3
commit a4daa6cff4
2 files changed
+9 -2

No files matched your search

+3
View File
@@ -813,6 +813,9 @@ Naming/ConstantName:
Naming/HeredocDelimiterNaming:
Enabled: false
Naming/UncommunicativeMethodParamName:
Enabled: false
###
# Bundler
####
+6 -2
View File
@@ -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