Skip to content

Commit

Permalink
Fix missing operations for MW datasource.
Browse files Browse the repository at this point in the history
  • Loading branch information
tumido committed Dec 6, 2017
1 parent 29d1636 commit 87f9518
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 87f9518

Please sign in to comment.