From ce62bcb19d81e67f9249a6bdfbd89c2e125921d3 Mon Sep 17 00:00:00 2001 From: Brandon Dunne Date: Wed, 5 Jul 2017 14:23:13 -0400 Subject: [PATCH] MulticastLogger#reopen shouldn't be used because it's backed by other loggers --- lib/vmdb/loggers/multicast_logger.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/vmdb/loggers/multicast_logger.rb b/lib/vmdb/loggers/multicast_logger.rb index ff961736cde..a90ec933012 100644 --- a/lib/vmdb/loggers/multicast_logger.rb +++ b/lib/vmdb/loggers/multicast_logger.rb @@ -23,6 +23,10 @@ def add(*args, &block) true end + def reopen(_logdev = nil) + raise NotImplementedError, "#{self.class.name} should not be reopened since it is backed by multiple loggers." + end + private def method_missing(*args, &block)