Skip to content

Commit

Permalink
Merge pull request #16611 from tumido/fix_mw_datasource_operations
Browse files Browse the repository at this point in the history
Fix missing operations for MW datasource.
(cherry picked from commit ef638d5)
  • Loading branch information
agrare authored and simaishi committed Dec 12, 2017
1 parent 05bbdfe commit ba585f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/middleware_datasource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ class MiddlewareDatasource < ApplicationRecord
acts_as_miq_taggable
serialize :properties

delegate :mutable?, :in_domain?, :to => :middleware_server

def metrics_capture
@metrics_capture ||= ManageIQ::Providers::Hawkular::MiddlewareManager::LiveMetricsCapture.new(self)
end
Expand Down

0 comments on commit ba585f0

Please sign in to comment.