Merge pull request #5755 from TimeIncOSS/remove-notfound-err-helper
helper/resource: Remove NewNotFoundError function
This commit is contained in:
commit
b6e3788ad0
|
@ -15,7 +15,3 @@ func (e *NotFoundError) Error() string {
|
|||
|
||||
return "couldn't find resource"
|
||||
}
|
||||
|
||||
func NewNotFoundError(err string) *NotFoundError {
|
||||
return &NotFoundError{Message: err}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue