typo
This commit is contained in:
parent
57a4f8607d
commit
fdb106dfa5
|
|
@ -1185,7 +1185,7 @@ type ErrDependencyExists struct {
|
||||||
DependencyID int64
|
DependencyID int64
|
||||||
}
|
}
|
||||||
|
|
||||||
// IsErrDependencyExists checks if a n error is a ErrDependencyExists.
|
// IsErrDependencyExists checks if an error is a ErrDependencyExists.
|
||||||
func IsErrDependencyExists(err error) bool {
|
func IsErrDependencyExists(err error) bool {
|
||||||
_, ok := err.(ErrDependencyExists)
|
_, ok := err.(ErrDependencyExists)
|
||||||
return ok
|
return ok
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user