From 65f772d050894e0c41b46569d5fed3bf1182cdc8 Mon Sep 17 00:00:00 2001
From: lixiaobing10051267
Date: Fri, 12 Aug 2016 11:17:08 +0800
Subject: [PATCH] Modify IsInvalidObj name and description
---
pkg/storage/errors.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/storage/errors.go b/pkg/storage/errors.go
index 3ae0a8893c8..7c1fbb507b1 100644
--- a/pkg/storage/errors.go
+++ b/pkg/storage/errors.go
@@ -110,7 +110,7 @@ func IsTestFailed(err error) bool {
return isErrCode(err, ErrCodeResourceVersionConflicts)
}
-// IsInvalidUID returns true if and only if err is invalid UID error
+// IsInvalidObj returns true if and only if err is invalid error
func IsInvalidObj(err error) bool {
return isErrCode(err, ErrCodeInvalidObj)
}