Browse Source

comment

pull/4880/head
chrislu 1 year ago
parent
commit
321fda552c
  1. 2
      weed/util/retry.go

2
weed/util/retry.go

@ -81,7 +81,7 @@ func RetryUntil(name string, job func() error, onErrFn func(err error) (shouldCo
} }
} }
// return the first non empty string
// Nvl return the first non-empty string
func Nvl(values ...string) string { func Nvl(values ...string) string {
for _, s := range values { for _, s := range values {
if s != "" { if s != "" {

Loading…
Cancel
Save