Skip to content

Commit

Permalink
Merge pull request #925 from nasark/delegate_ems_refresh_class_method
Browse files Browse the repository at this point in the history
Delegate refresh_ems class method to parent cloud manager

(cherry picked from commit 28af5dc)
  • Loading branch information
agrare authored and Fryguy committed Nov 14, 2024
1 parent 0ad2350 commit 739e7df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/manageiq/providers/vmware/network_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ class ManageIQ::Providers::Vmware::NetworkManager < ManageIQ::Providers::Network
:to => :parent_manager,
:allow_nil => true

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

def self.ems_type
@ems_type ||= "vmware_cloud_network".freeze
end
Expand Down
2 changes: 2 additions & 0 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
:saver_strategy: batch
:vmware_cloud:
:get_public_images: false
:vmware_cloud_network:
:refresh_interval: 0
:vmwarews:
:refresh_interval: 24.hours
:update_poll_interval: 1.second
Expand Down

0 comments on commit 739e7df

Please sign in to comment.