Fix Sentinel configuration rewrite. (#8480)
Fix Sentinel configuration rewrite. (#8480)

The `resolve-hostnames` and `announce-hostnames` parameters were not
specified correctly according to the new convention introduced by
1aad55b66.
JackieXie168/redis,JackieXie168/redis,JackieXie168/redis,JackieXie168/redis