Fixed Lint suggestions

This commit is contained in:
kolaente 2017-12-29 22:31:50 +01:00 committed by Konrad
parent 2a249c4e64
commit c534699884
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

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