This commit is contained in:
kolaente 2017-12-29 22:35:23 +01:00 committed by Konrad
parent 57a4f8607d
commit fdb106dfa5
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -1185,7 +1185,7 @@ type ErrDependencyExists struct {
DependencyID int64
}
// IsErrDependencyExists checks if a n error is a ErrDependencyExists.
// IsErrDependencyExists checks if an error is a ErrDependencyExists.
func IsErrDependencyExists(err error) bool {
_, ok := err.(ErrDependencyExists)
return ok