Skip to content

Commit

Permalink
Merge pull request kubernetes#30492 from lixiaobing10051267/masterUID
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

Modify IsInvalidObj name and description

IsInvalidObj  note incorrect, modify it.
  • Loading branch information
Kubernetes Submit Queue authored Aug 17, 2016
2 parents 622db63 + 65f772d commit 6bbc999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 6bbc999

Please sign in to comment.