1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-04 17:47:00 +03:00

L #-: Lint DriverExecHelper.rb (#666)

This commit is contained in:
Jan Orel 2021-01-18 19:43:43 +01:00 committed by GitHub
parent ebe4aa1ece
commit ff633fae6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,7 @@ module DriverExecHelper
# METHODS FOR LOGS & COMMAND OUTPUT
#
# Sends a message to the OpenNebula core through stdout
# rubocop:disable Metrics/ParameterLists
def send_message(action = '-', result = RESULT[:failure],
id = '-', info = '-')
@ -118,6 +119,7 @@ module DriverExecHelper
STDOUT.flush
end
end
# rubocop:enable Metrics/ParameterLists
# Sends a log message to ONE. The +message+ can be multiline, it will
# be automatically splitted by lines.