Commit 65f772d0 authored by lixiaobing10051267's avatar lixiaobing10051267

Modify IsInvalidObj name and description

parent 922477f9
......@@ -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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment