Update repository/mock_repo.go

Co-Authored-By: Michael Muré <batolettre@gmail.com>
This commit is contained in:
Amine 2019-06-19 18:02:16 +02:00 committed by GitHub
parent 07cc5e4100
commit acfd8ffdd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ func (r *mockRepoForTest) ReadConfigString(key string) (string, error) {
return val, nil
}
// RmConfig remove all key/value pair matching the key prefix
// RmConfigs remove all key/value pair matching the key prefix
func (r *mockRepoForTest) RmConfigs(keyPrefix string) error {
for key := range r.config {
if strings.HasPrefix(key, keyPrefix) {