Merge pull request #1164 from smallstep/max/bad-comment

Correct bad comment on NotImplementedError.Error()
This commit is contained in:
Max 2022-11-07 15:38:46 -08:00 committed by GitHub
commit 80cbcb652b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ type NotImplementedError struct {
Message string
}
// NotImplementedError implements the error interface.
// Error implements the error interface.
func (e NotImplementedError) Error() string {
if e.Message != "" {
return e.Message