Merge pull request #45874 from sanderploegsma/patch-1

Automatic merge from submit-queue (batch tested with PRs 45884, 45879, 45912, 45444, 45874)

fix: typo in redis example

**What this PR does / why we need it**: The `bind 0.0.0.0` rule should end up in the sentinel config, not the script output.

**Special notes for your reviewer**:

**Release note**:

```release-note
```
pull/6/head
Kubernetes Submit Queue 2017-05-16 22:18:58 -07:00 committed by GitHub
commit 810b409626
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ function launchsentinel() {
echo "sentinel down-after-milliseconds mymaster 60000" >> ${sentinel_conf}
echo "sentinel failover-timeout mymaster 180000" >> ${sentinel_conf}
echo "sentinel parallel-syncs mymaster 1" >> ${sentinel_conf}
echo "bind 0.0.0.0"
echo "bind 0.0.0.0" >> ${sentinel_conf}
redis-sentinel ${sentinel_conf} --protected-mode no
}