Skip to content

Commit 44379b7

Browse files
author
Erik Hollensbe
committed
Merge pull request #11 from contiv/fix-split-error-check
etcdService.go: properly communicate the hostAddr after parsing
2 parents 50d58db + cf50b16 commit 44379b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etcdService.go

+1
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)