Skip to content

Commit 08fd159

Browse files
authored
Merge pull request #208 from arangodb-helper/bug-fix/passthrough-active-failover
Use --dbservers.* for passthrough options for dbservers in active/failover.
2 parents 8cc1ce9 + 4f9bf84 commit 08fd159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service/passthrough.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ var (
7272
func (o *PassthroughOption) valueForServerType(serverType ServerType) []string {
7373
var result []string
7474
switch serverType {
75-
case ServerTypeSingle, ServerTypeResilientSingle:
75+
case ServerTypeSingle:
7676
result = o.Values.All
7777
case ServerTypeCoordinator:
7878
result = o.Values.Coordinators
79-
case ServerTypeDBServer:
79+
case ServerTypeDBServer, ServerTypeResilientSingle:
8080
result = o.Values.DBServers
8181
case ServerTypeAgent:
8282
result = o.Values.Agents

0 commit comments

Comments
 (0)