Skip to content

Commit 2e2468d

Browse files
enjoy-binbinzuiderkwast
authored andcommitted
Fix CLUSTER SHARDS example, empty hostname will not be displayed
It was fixed in 7.0.6, see redis/redis#11297
1 parent a4d3480 commit 2e2468d

File tree

1 file changed

+36
-48
lines changed

1 file changed

+36
-48
lines changed

commands/cluster-shards.md

Lines changed: 36 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,12 @@ Which endpoint is set is determined by the `cluster-preferred-endpoint-type` con
6666
6) "127.0.0.1"
6767
7) "endpoint"
6868
8) "127.0.0.1"
69-
9) "hostname"
70-
10) ""
71-
11) "role"
72-
12) "master"
73-
13) "replication-offset"
74-
14) (integer) 72156
75-
15) "health"
76-
16) "online"
69+
9) "role"
70+
10) "master"
71+
11) "replication-offset"
72+
12) (integer) 72156
73+
13) "health"
74+
14) "online"
7775
2) 1) "id"
7876
2) "1901f5962d865341e81c85f9f596b1e7160c35ce"
7977
3) "port"
@@ -82,14 +80,12 @@ Which endpoint is set is determined by the `cluster-preferred-endpoint-type` con
8280
6) "127.0.0.1"
8381
7) "endpoint"
8482
8) "127.0.0.1"
85-
9) "hostname"
86-
10) ""
87-
11) "role"
88-
12) "replica"
89-
13) "replication-offset"
90-
14) (integer) 72156
91-
15) "health"
92-
16) "online"
83+
9) "role"
84+
10) "replica"
85+
11) "replication-offset"
86+
12) (integer) 72156
87+
13) "health"
88+
14) "online"
9389
2) 1) "slots"
9490
2) 1) (integer) 10923
9591
2) (integer) 16383
@@ -102,14 +98,12 @@ Which endpoint is set is determined by the `cluster-preferred-endpoint-type` con
10298
6) "127.0.0.1"
10399
7) "endpoint"
104100
8) "127.0.0.1"
105-
9) "hostname"
106-
10) ""
107-
11) "role"
108-
12) "master"
109-
13) "replication-offset"
110-
14) (integer) 72156
111-
15) "health"
112-
16) "online"
101+
9) "role"
102+
10) "master"
103+
11) "replication-offset"
104+
12) (integer) 72156
105+
13) "health"
106+
14) "online"
113107
2) 1) "id"
114108
2) "6daa25c08025a0c7e4cc0d1ab255949ce6cee902"
115109
3) "port"
@@ -118,14 +112,12 @@ Which endpoint is set is determined by the `cluster-preferred-endpoint-type` con
118112
6) "127.0.0.1"
119113
7) "endpoint"
120114
8) "127.0.0.1"
121-
9) "hostname"
122-
10) ""
123-
11) "role"
124-
12) "replica"
125-
13) "replication-offset"
126-
14) (integer) 72156
127-
15) "health"
128-
16) "online"
115+
9) "role"
116+
10) "replica"
117+
11) "replication-offset"
118+
12) (integer) 72156
119+
13) "health"
120+
14) "online"
129121
3) 1) "slots"
130122
2) 1) (integer) 5461
131123
2) (integer) 10922
@@ -138,14 +130,12 @@ Which endpoint is set is determined by the `cluster-preferred-endpoint-type` con
138130
6) "127.0.0.1"
139131
7) "endpoint"
140132
8) "127.0.0.1"
141-
9) "hostname"
142-
10) ""
143-
11) "role"
144-
12) "master"
145-
13) "replication-offset"
146-
14) (integer) 72156
147-
15) "health"
148-
16) "online"
133+
9) "role"
134+
10) "master"
135+
11) "replication-offset"
136+
12) (integer) 72156
137+
13) "health"
138+
14) "online"
149139
2) 1) "id"
150140
2) "da6d5847aa019e9b9d2a8aa24a75f856fd3456cc"
151141
3) "port"
@@ -154,12 +144,10 @@ Which endpoint is set is determined by the `cluster-preferred-endpoint-type` con
154144
6) "127.0.0.1"
155145
7) "endpoint"
156146
8) "127.0.0.1"
157-
9) "hostname"
158-
10) ""
159-
11) "role"
160-
12) "replica"
161-
13) "replication-offset"
162-
14) (integer) 72156
163-
15) "health"
164-
16) "online"
147+
9) "role"
148+
10) "replica"
149+
11) "replication-offset"
150+
12) (integer) 72156
151+
13) "health"
152+
14) "online"
165153
```

0 commit comments

Comments
 (0)