Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle redis.Nil error in GetVersion function
Added error handling for redis.Nil error in GetVersion method in version.go. This change will return 0 and nil, for redis.Nil errors, to prevent unexpected behavior or application crashes.
- Loading branch information