Don't pass arguments to parent class on initialization. Broker not a singleton.

This commit is contained in:
Chris Roberts 2021-05-17 16:46:17 -07:00 committed by Paul Hinze
parent 932c748016
commit ae9119ad18
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -7,7 +7,6 @@ module VagrantPlugins
# within the go-plugin library. This can be used to provide # within the go-plugin library. This can be used to provide
# feature parity with golang based go-plugins # feature parity with golang based go-plugins
class Broker class Broker
include Singleton
# Broker specific errors # Broker specific errors
class Error < StandardError class Error < StandardError
@ -52,7 +51,7 @@ module VagrantPlugins
# @param broker [Broker] broker to register requests # @param broker [Broker] broker to register requests
# @return [self] # @return [self]
def initialize(broker:) def initialize(broker:)
super super()
@broker = broker @broker = broker
end end