Don't pass arguments to parent class on initialization. Broker not a singleton.
This commit is contained in:
parent
932c748016
commit
ae9119ad18
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user