Explorar o código

clientv3/doc: Improve error handling comment

Louis-Paul Dareau %!s(int64=7) %!d(string=hai) anos
pai
achega
a3c09ee8e9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      clientv3/doc.go

+ 1 - 1
clientv3/doc.go

@@ -72,7 +72,7 @@
 //		} else if err == context.DeadlineExceeded {
 //			// ctx is attached with a deadline and it exceeded
 //		} else if err == rpctypes.ErrEmptyKey {
-//			// client-side error: key argument is empty
+//			// client-side error: key is not provided
 //		} else if ev, ok := status.FromError(err); ok {
 //			code := ev.Code()
 //			if code == codes.DeadlineExceeded {