Fix rubocop rule violations in qa influxdb tooling
What does this MR do and why?
Fix some of the rubocop rule violations, mainly return from begin..end
which leads value not being memoized due to return statement returning from the whole method.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.