Skip to content

Commit 74d46a8

Browse files
committed
Fix command mapping by renaming SNAPSHOT to SAVE in Commands
1 parent a9e0442 commit 74d46a8

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

dump.rdb

191 Bytes
Binary file not shown.

internal/db/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var Commands = map[string]HandlerFunc{
5757
"INFO": infoHandler,
5858
"EXPIRE": expireHandler,
5959
"TTL": ttlHandler,
60-
"SNAPSHOT": snapshotHandler,
60+
"SAVE": snapshotHandler,
6161
}
6262

6363
func (s *Store) ttlCleaner() {

0 commit comments

Comments
 (0)