aboutsummaryrefslogtreecommitdiffstats
path: root/repository/config_mem.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2024-04-24 07:12:24 +0200
committerGitHub <noreply@github.com>2024-04-24 07:12:24 +0200
commit6d051a243c734489993c6733c1b21895d59e5e34 (patch)
tree72139c0be41db1cf174c083e4adfc6170ffa26f5 /repository/config_mem.go
parentc82881c0c72149902370a06ccdd0b784c192169e (diff)
parente256cdec58e50e25a3bca3223d425499d9e0d702 (diff)
downloadgit-bug-6d051a243c734489993c6733c1b21895d59e5e34.tar.gz
Merge pull request #1150 from dockercui/mastermaster
Fix some comments
Diffstat (limited to 'repository/config_mem.go')
-rw-r--r--repository/config_mem.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/config_mem.go b/repository/config_mem.go
index 55b12fd7..d9126f39 100644
--- a/repository/config_mem.go
+++ b/repository/config_mem.go
@@ -79,7 +79,7 @@ func (mc *MemConfig) ReadTimestamp(key string) (time.Time, error) {
return time.Unix(int64(timestamp), 0), nil
}
-// RmConfigs remove all key/value pair matching the key prefix
+// RemoveAll remove all key/value pair matching the key prefix
func (mc *MemConfig) RemoveAll(keyPrefix string) error {
keyPrefix = normalizeKey(keyPrefix)
found := false