diff options
author | dockercui <dockercui@aliyun.com> | 2024-04-24 10:47:28 +0800 |
---|---|---|
committer | dockercui <dockercui@aliyun.com> | 2024-04-24 10:47:28 +0800 |
commit | e256cdec58e50e25a3bca3223d425499d9e0d702 (patch) | |
tree | 72139c0be41db1cf174c083e4adfc6170ffa26f5 /repository/config_mem.go | |
parent | c82881c0c72149902370a06ccdd0b784c192169e (diff) | |
download | git-bug-e256cdec58e50e25a3bca3223d425499d9e0d702.tar.gz |
Fix some comments
Signed-off-by: dockercui <dockercui@aliyun.com>
Diffstat (limited to 'repository/config_mem.go')
-rw-r--r-- | repository/config_mem.go | 2 |
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 |