aboutsummaryrefslogtreecommitdiff
path: root/weed/util/retry.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-10-01 11:36:27 -0700
committerchrislu <chris.lu@gmail.com>2023-10-01 11:36:27 -0700
commit321fda552c323bb04e32c0b13ebd19bd9f5a6546 (patch)
treeff5913b3cf36d4701773dd32594be2a6c1ca72f4 /weed/util/retry.go
parentb02fdeabff4861a4fb1913de7c3104b511757da5 (diff)
downloadseaweedfs-321fda552c323bb04e32c0b13ebd19bd9f5a6546.tar.xz
seaweedfs-321fda552c323bb04e32c0b13ebd19bd9f5a6546.zip
comment
Diffstat (limited to 'weed/util/retry.go')
-rw-r--r--weed/util/retry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/retry.go b/weed/util/retry.go
index cdc020b7a..006cda466 100644
--- a/weed/util/retry.go
+++ b/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 {
for _, s := range values {
if s != "" {