Skip to content

Commit 9c4bfd8

Browse files
committed
Update changelog in readme
1 parent 4b00e6b commit 9c4bfd8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Fields:
184184
- tcp
185185
- udp
186186
- **scheduler**: How to pick downstream server.
187-
- rr - Robin Robin
187+
- rr - Round Robin
188188
- wrr - Weighted Round Robin
189189
- lc - Least-Connection
190190
- wlc - Weighted Least-Connection
@@ -301,6 +301,8 @@ Fields:
301301
- redis cluster init to get and set certs and vips
302302

303303
## Changelog
304+
- 0.1.0 - Fixed start issues related to VIPs - 17-01-24
305+
304306
- Added ability to specify interface when registering a service
305307
- Users can now add vips to portal
306308
- Portal now uses the service host for server's hosts that are "127.0.0.1"

balance/nginx.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (n *Nginx) DeleteServer(svcId, srvId string) error {
242242
// regenerloadConfig regenerates the nginx config and performs a live reload on
243243
// nginx to re-read in the config.
244244
func (n *Nginx) regenerloadConfig() error {
245-
nginxConfig := fmt.Sprintf(`%v
245+
nginxConfig := fmt.Sprintf(`%s
246246
247247
# CONFIG GENERATED BY PORTAL
248248
stream {

cluster/redis.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ func (r Redis) waitForMembers(conn redis.Conn, actionHash string) error {
14291429
}
14301430
// if members don't respond in time, return error
14311431
case <-timeout:
1432-
return fmt.Errorf("Member(s) '%v' failed to set-service", list)
1432+
return fmt.Errorf("Member(s) '%s' failed to set-service", list)
14331433
}
14341434
}
14351435
}

0 commit comments

Comments
 (0)