Skip to content

Commit cf50b16

Browse files
committed
etcdService.go: properly communicate the hostAddr after parsing
Signed-off-by: Erik Hollensbe <[email protected]>
1 parent ca6060e commit cf50b16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etcdService.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ func (self *etcdPlugin) WatchService(name string,
188188
goto restart
189189
}
190190

191+
hostAddr = parts[0]
191192
portNum, _ := strconv.Atoi(parts[1])
192193

193194
// Build service info

0 commit comments

Comments
 (0)