From 87f9518a6c6397fc4c4e8e3578c77738bad6690c Mon Sep 17 00:00:00 2001 From: Tomas Coufal Date: Wed, 6 Dec 2017 21:04:38 +0100 Subject: [PATCH] Fix missing operations for MW datasource. --- app/models/middleware_datasource.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/middleware_datasource.rb b/app/models/middleware_datasource.rb index 25964efc18e..8e71f747eb2 100644 --- a/app/models/middleware_datasource.rb +++ b/app/models/middleware_datasource.rb @@ -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