File tree Expand file tree Collapse file tree 4 files changed +15
-15
lines changed
Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -188,11 +188,11 @@ func action(ctx context.Context, cmd *cli.Command) error {
188188 VaultToken : cmd .String ("vault-token" ),
189189
190190 // Gossip cluster configuration
191- GossipEnabled : cmd .Bool ("gossip-enabled" ),
192- GossipBindAddr : cmd .String ("gossip-bind-addr" ),
193- GossipLANPort : cmd .Int ("gossip-lan-port" ),
194- GossipWANPort : cmd .Int ("gossip-wan-port" ),
195- GossipLANSeeds : cmd .StringSlice ("gossip-lan-seeds" ),
191+ GossipEnabled : cmd .Bool ("gossip-enabled" ),
192+ GossipBindAddr : cmd .String ("gossip-bind-addr" ),
193+ GossipLANPort : cmd .Int ("gossip-lan-port" ),
194+ GossipWANPort : cmd .Int ("gossip-wan-port" ),
195+ GossipLANSeeds : cmd .StringSlice ("gossip-lan-seeds" ),
196196 GossipWANSeeds : cmd .StringSlice ("gossip-wan-seeds" ),
197197 GossipSecretKey : cmd .String ("gossip-secret-key" ),
198198
Original file line number Diff line number Diff line change @@ -135,11 +135,11 @@ func action(ctx context.Context, cmd *cli.Command) error {
135135 VaultToken : cmd .String ("vault-token" ),
136136
137137 // Gossip cluster configuration
138- GossipEnabled : cmd .Bool ("gossip-enabled" ),
139- GossipBindAddr : cmd .String ("gossip-bind-addr" ),
140- GossipLANPort : cmd .Int ("gossip-lan-port" ),
141- GossipWANPort : cmd .Int ("gossip-wan-port" ),
142- GossipLANSeeds : cmd .StringSlice ("gossip-lan-seeds" ),
138+ GossipEnabled : cmd .Bool ("gossip-enabled" ),
139+ GossipBindAddr : cmd .String ("gossip-bind-addr" ),
140+ GossipLANPort : cmd .Int ("gossip-lan-port" ),
141+ GossipWANPort : cmd .Int ("gossip-wan-port" ),
142+ GossipLANSeeds : cmd .StringSlice ("gossip-lan-seeds" ),
143143 GossipWANSeeds : cmd .StringSlice ("gossip-wan-seeds" ),
144144 GossipSecretKey : cmd .String ("gossip-secret-key" ),
145145
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ package cluster
33import (
44 "testing"
55
6+ "github.com/stretchr/testify/require"
67 cachev1 "github.com/unkeyed/unkey/gen/proto/cache/v1"
78 clusterv1 "github.com/unkeyed/unkey/gen/proto/cluster/v1"
8- "github.com/stretchr/testify/require"
99)
1010
1111func cacheInvalidationMessage (cacheName , cacheKey string ) * clusterv1.ClusterMessage {
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ type noopCluster struct{}
1212var _ Cluster = noopCluster {}
1313
1414func (noopCluster ) Broadcast (clusterv1.IsClusterMessage_Payload ) error { return nil }
15- func (noopCluster ) Members () []* memberlist.Node { return nil }
16- func (noopCluster ) IsAmbassador () bool { return false }
17- func (noopCluster ) WANAddr () string { return "" }
18- func (noopCluster ) Close () error { return nil }
15+ func (noopCluster ) Members () []* memberlist.Node { return nil }
16+ func (noopCluster ) IsAmbassador () bool { return false }
17+ func (noopCluster ) WANAddr () string { return "" }
18+ func (noopCluster ) Close () error { return nil }
1919
2020// NewNoop returns a no-op cluster that does not participate in gossip.
2121func NewNoop () Cluster {
You can’t perform that action at this time.
0 commit comments