Removing override fields for zk config.
This commit is contained in:
parent
1535c74b02
commit
3723e7dd2c
1 changed files with 5 additions and 7 deletions
12
zk.go
12
zk.go
|
@ -36,13 +36,11 @@ type ServiceInstance struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type zkConfig struct {
|
type zkConfig struct {
|
||||||
endpoints []string
|
endpoints []string
|
||||||
path string
|
path string
|
||||||
backoff Backoff
|
backoff Backoff
|
||||||
timeout time.Duration
|
timeout time.Duration
|
||||||
logger Logger
|
logger Logger
|
||||||
auroraSchemeOverride *string
|
|
||||||
auroraPortOverride *int
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type ZKOpt func(z *zkConfig)
|
type ZKOpt func(z *zkConfig)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue