Skip to content

Commit

Permalink
Merge pull request #15512 from bdunne/multicastlogger_reopen
Browse files Browse the repository at this point in the history
MulticastLogger#reopen shouldn't be used because it's backed by other loggers
  • Loading branch information
Fryguy authored Jul 5, 2017
2 parents 41f95f0 + ce62bcb commit fbf22fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/vmdb/loggers/multicast_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fbf22fe

Please sign in to comment.