From 5abb4b3df614fcce496b7799a484ee765639dfa4 Mon Sep 17 00:00:00 2001 From: rithu john Date: Wed, 29 Mar 2017 11:32:02 -0700 Subject: [PATCH] storage/static.go: correct the error message that gets displayed. --- storage/static.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/static.go b/storage/static.go index b2ab5d4f..d5b4f83f 100644 --- a/storage/static.go +++ b/storage/static.go @@ -139,7 +139,7 @@ func (s staticPasswordsStorage) CreatePassword(p Password) error { func (s staticPasswordsStorage) DeletePassword(email string) error { if s.isStatic(email) { - return errors.New("static passwords: read-only cannot create password") + return errors.New("static passwords: read-only cannot delete password") } return s.Storage.DeletePassword(email) }