Browse Source

clientv3/doc: Improve error handling comment

Louis-Paul Dareau 7 years ago
parent
commit
a3c09ee8e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clientv3/doc.go

+ 1 - 1
clientv3/doc.go

@@ -72,7 +72,7 @@
 //		} else if err == context.DeadlineExceeded {
 //		} else if err == context.DeadlineExceeded {
 //			// ctx is attached with a deadline and it exceeded
 //			// ctx is attached with a deadline and it exceeded
 //		} else if err == rpctypes.ErrEmptyKey {
 //		} 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 {
 //		} else if ev, ok := status.FromError(err); ok {
 //			code := ev.Code()
 //			code := ev.Code()
 //			if code == codes.DeadlineExceeded {
 //			if code == codes.DeadlineExceeded {