| 1 |
Description: Allow patch in URL |
| 2 |
Author: Thomas Goirand <[email protected]> |
| 3 |
Forwarded: no |
| 4 |
Last-Update: 2019-12-10 |
| 5 |
|
| 6 |
--- golang-github-coreos-discovery-etcd-io-2.0.0+git2019.04.19.git.78fb45d3c9.orig/discovery.go |
| 7 |
+++ golang-github-coreos-discovery-etcd-io-2.0.0+git2019.04.19.git.78fb45d3c9/discovery.go |
| 8 |
@@ -72,7 +72,7 @@ func init() { |
| 9 |
func main() { |
| 10 |
log.SetFlags(0) |
| 11 |
etcdHost := mustHostOnlyURL(viper.GetString("etcd")) |
| 12 |
|
| 13 |
+ discHost := viper.GetString("host") |
| 14 |
webAddr := viper.GetString("addr") |
| 15 |
|
| 16 |
handling.Setup(context.Background(), etcdHost, discHost) |