Skip to content

Commit

Permalink
Unhide ems_refresh.kubernetes.inventory_object_refresh setting
Browse files Browse the repository at this point in the history
  • Loading branch information
cben committed Jul 19, 2017
1 parent 2ebd841 commit d519de2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def parse_legacy_inventory(ems)
entities = ems.with_provider_connection { |client| fetch_entities(client, KUBERNETES_ENTITIES) }
EmsRefresh.log_inv_debug_trace(entities, "inv_hash:")

if refresher_options.try(:[], :inventory_object_refresh)
if refresher_options.inventory_object_refresh
ManageIQ::Providers::Kubernetes::ContainerManager::RefreshParser.ems_inv_to_inv_collections(ems, entities, refresher_options)
else
ManageIQ::Providers::Kubernetes::ContainerManager::RefreshParser.ems_inv_to_hashes(entities, refresher_options)
Expand Down
1 change: 1 addition & 0 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
:ems_refresh:
:kubernetes:
:refresh_interval: 15.minutes
:inventory_object_refresh: false
:workers:
:worker_base:
:event_catcher:
Expand Down

0 comments on commit d519de2

Please sign in to comment.