1 Commits

Author SHA1 Message Date
James Mills
c7a082d220 Updated vendor 3rd-party packages 2017-11-25 16:30:04 -08:00
10 changed files with 15 additions and 7 deletions

6
.gitmodules vendored
View File

@@ -43,3 +43,9 @@
[submodule "vendor/github.com/prometheus/procfs"]
path = vendor/github.com/prometheus/procfs
url = https://github.com/prometheus/procfs
[submodule "vendor/github.com/sasha-s/go-deadlock"]
path = vendor/github.com/sasha-s/go-deadlock
url = https://github.com/sasha-s/go-deadlock
[submodule "vendor/github.com/petermattis/goid"]
path = vendor/github.com/petermattis/goid
url = https://github.com/petermattis/goid

View File

@@ -68,7 +68,7 @@ func (store *MemoryPasswordStore) Verify(username, password string) error {
hash, ok := store.Get(username)
if !ok {
log.Debugf("username %s not found", username)
return fmt.Errorf("account not found: %S", username)
return fmt.Errorf("account not found: %s", username)
}
return store.hasher.Compare(hash, []byte(password))

1
vendor/github.com/petermattis/goid generated vendored Submodule