Skip to content

Commit

Permalink
Merge pull request #564 from agrare/fix_refresh_ems_class_method_not_…
Browse files Browse the repository at this point in the history
…delegated

Fix Azure NetworkManager refresh disconnecting managed_images
  • Loading branch information
Fryguy authored Oct 29, 2024
2 parents 2c3a909 + d1c796a commit cc9c42b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/manageiq/providers/azure/network_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ class ManageIQ::Providers::Azure::NetworkManager < ManageIQ::Providers::NetworkM
:to => :parent_manager,
:allow_nil => true

class << self
delegate :refresh_ems, :to => ManageIQ::Providers::Azure::CloudManager
end

def self.ems_type
@ems_type ||= "azure_network".freeze
end
Expand Down
3 changes: 3 additions & 0 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
# Strategy for saving, another allowed is batch, doing batch SQL queries [Graph refresh only]
:saver_strategy: default
:azure_network:
# Disable scheduled full refresh for the network manager as this will be
# refreshed automatically by the parent cloud manager.
:refresh_interval: 0
:inventory_collections:
:saver_strategy: default
:http_proxy:
Expand Down

0 comments on commit cc9c42b

Please sign in to comment.