remove unneeded assignment

This commit is contained in:
Jeff Mitchell 2016-02-02 15:11:35 -05:00
parent 92c276369d
commit dcb6901593

View file

@ -152,7 +152,6 @@ func (c *ServerCommand) Run(args []string) int {
coreConfig.AdvertiseAddr = config.HABackend.AdvertiseAddr
} else {
if coreConfig.HAPhysical, ok = backend.(physical.HABackend); ok {
coreConfig.HAPhysical = backend.(physical.HABackend)
coreConfig.AdvertiseAddr = config.Backend.AdvertiseAddr
}
}