On Fri, May 19, 2017 at 10:54 AM, Lukas Zapletal <[email protected]> wrote:
> unless new_host && hostgroup.nil? && reports.nil? && reports.empty?


Sorry I mean:

unless new_host && hostgroup.nil? && respond_to?(:reports) && reports.empty?

Send a PR to discuss this with Greg for a proper fix, this is dirty.

-- 
Later,
  Lukas @lzap Zapletal

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to