Initialise registry for broker

This commit is contained in:
Asim
2016-01-20 15:22:44 +00:00
parent a1c22ce78a
commit 8724e68ae4
3 changed files with 38 additions and 4 deletions

View File

@@ -255,6 +255,8 @@ func (c *cmd) Before(ctx *cli.Context) error {
(*c.opts.Selector).Init(selector.Registry(*c.opts.Registry))
clientOpts = append(clientOpts, client.Selector(*c.opts.Selector))
(*c.opts.Broker).Init(broker.Registry(*c.opts.Registry))
}
// Set the selector