We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 874a260 commit 74a6ec2Copy full SHA for 74a6ec2
1 file changed
blox/options.go
@@ -64,7 +64,8 @@ func newOptions(o ...Option) (*options, error) {
64
}
65
66
if opts.name == "" {
67
- return nil, errors.New("blox pool name must be specified")
+ log.Warn("Pool name is empty, setting to '0' to trigger auto-discovery")
68
+ opts.name = "0"
69
70
if opts.pingCount <= 0 {
71
log.Warnf("ping count is not specified, using default of 5 instead of %d", opts.pingCount)
0 commit comments