mirror of
https://github.com/MontFerret/ferret.git
synced 2026-06-20 01:17:53 +02:00
Ignore empty CDP address value
This commit is contained in:
@@ -25,7 +25,9 @@ func newOptions(setters []Option) *Options {
|
||||
|
||||
func WithAddress(address string) Option {
|
||||
return func(opts *Options) {
|
||||
opts.address = address
|
||||
if address != "" {
|
||||
opts.address = address
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user