Skip to content

Commit b69cdb6

Browse files
ndyakovCopilot
andauthored
Update internal/proto/redis_errors.go
Co-authored-by: Copilot <[email protected]>
1 parent bdfd0e9 commit b69cdb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/proto/redis_errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ func IsAskError(err error) (*AskError, bool) {
253253
// Parse: ASK 3999 127.0.0.1:6381
254254
parts := strings.Split(s, " ")
255255
if len(parts) == 3 {
256-
return &AskError{msg: s}, true
256+
return &AskError{msg: s, addr: parts[2]}, true
257257
}
258258
}
259259
return nil, false

0 commit comments

Comments
 (0)