Skip to content

Commit

Permalink
Merge pull request #42 from DMwangnima/fix/miss_prefix_with_retry
Browse files Browse the repository at this point in the history
fix: add prefix when using NewEtcdRegistryWithRetry
  • Loading branch information
DMwangnima authored Sep 9, 2024
2 parents afcb798 + d53cd5d commit be62b54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etcd_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ func NewEtcdRegistryWithRetry(endpoints []string, retryConfig *retry.Config, opt
leaseTTL: getTTL(),
retryConfig: retryConfig,
stop: make(chan struct{}, 1),
prefix: cfg.Prefix,
}, nil
}

Expand Down

0 comments on commit be62b54

Please sign in to comment.