You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: universal.go
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,10 @@ type UniversalOptions struct {
69
69
DisableIndentitybool
70
70
IdentitySuffixstring
71
71
UnstableResp3bool
72
+
73
+
// This is required because Elasticache supports setting up cluster mode with configuration endpoint. So the check len(Addrs) > 1 is not enough for determining cluster mode.
74
+
// If IsClusterMode is true, the client will be created as a cluster client.
75
+
IsClusterModebool
72
76
}
73
77
74
78
// Cluster returns cluster options created from the universal options.
0 commit comments