Skip to content

Commit

Permalink
fix tests and linter
Browse files Browse the repository at this point in the history
  • Loading branch information
JyotinderSingh committed Nov 26, 2024
1 parent ce9df92 commit 9c868e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/wal/wal_aof.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (w *WALAOF) ForEachCommand(f func(c cmd.DiceDBCmd) error) error {

commandParts := strings.SplitN(*entry.Command, " ", 2)
if len(commandParts) < 2 {
return fmt.Errorf("invalid command format in WAL entry: %s", entry.Command)
return fmt.Errorf("invalid command format in WAL entry: %s", *entry.Command)
}

c := cmd.DiceDBCmd{
Expand Down

0 comments on commit 9c868e5

Please sign in to comment.