redhataccess / foreman-plugin

Container for Foreman Plugin
13 stars 20 forks source link

Fixes #32 - insights playbook run PG error fixed #33

Closed snagoor closed 5 years ago

snagoor commented 5 years ago

https://github.com/redhataccess/foreman-plugin/blob/abfbf138bd77026a6e043719eea5312504d0bc78/redhat-access/app/models/redhat_access/concerns/host_managed_extensions.rb#L15

when trying to pluck the Host ID with the current syntax implemented, it returns the full array hash causing the insights run to fail.

ares commented 5 years ago

Makes sense, merging, thanks @snagoor