fix sentinel test failure (#8983)
fix sentinel test failure (#8983)

fix for recent breakage from #8958, did a mistake when updating the pr.

(cherry picked from commit be6ce8a92a9acbecfaaa6c57a45037fc1018fefe)

ctripcorp/redis,ctripcorp/redis,ctripcorp/redis,ctripcorp/redis