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
|
||||
# feature parity with golang based go-plugins
|
||||
class Broker
|
||||
include Singleton
|
||||
|
||||
# Broker specific errors
|
||||
class Error < StandardError
|
||||
@ -52,7 +51,7 @@ module VagrantPlugins
|
||||
# @param broker [Broker] broker to register requests
|
||||
# @return [self]
|
||||
def initialize(broker:)
|
||||
super
|
||||
super()
|
||||
@broker = broker
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user