Remove reaper URL for heartbeat msg
@@ -92,7 +92,6 @@ func (cmd *WorkerCommand) Runner(args []string) (ifrit.Runner, error) {
if cmd.PeerIP.IP != nil {
worker.GardenAddr = fmt.Sprintf("%s:%d", cmd.PeerIP.IP, cmd.BindPort)
worker.BaggageclaimURL = fmt.Sprintf("http://%s:%d", cmd.PeerIP.IP, cmd.Baggageclaim.BindPort)
- worker.ReaperAddr = fmt.Sprintf("http://%s:%d", cmd.PeerIP.IP, 7799)
beaconConfig.RegistrationMode = "direct"
} else {
@@ -102,7 +101,6 @@ func (cmd *WorkerCommand) Runner(args []string) (ifrit.Runner, error) {
worker.GardenAddr = beaconConfig.GardenForwardAddr
worker.BaggageclaimURL = fmt.Sprintf("http://%s", beaconConfig.BaggageclaimForwardAddr)
- worker.ReaperAddr = fmt.Sprintf("http://%s:%d", cmd.BindIP.IP, 7799)
}
members = append(members, grouper.Member{
