@@ -144,19 +144,19 @@ func (f *fakeRingClient) Pool() *ring_client.Pool {
144
144
panic ("not implemented" )
145
145
}
146
146
147
- func (f * fakeRingClient ) StartAsync (ctx context.Context ) error {
147
+ func (f * fakeRingClient ) StartAsync (_ context.Context ) error {
148
148
panic ("not implemented" )
149
149
}
150
150
151
- func (f * fakeRingClient ) AwaitRunning (ctx context.Context ) error {
151
+ func (f * fakeRingClient ) AwaitRunning (_ context.Context ) error {
152
152
panic ("not implemented" )
153
153
}
154
154
155
155
func (f * fakeRingClient ) StopAsync () {
156
156
panic ("not implemented" )
157
157
}
158
158
159
- func (f * fakeRingClient ) AwaitTerminated (ctx context.Context ) error {
159
+ func (f * fakeRingClient ) AwaitTerminated (_ context.Context ) error {
160
160
panic ("not implemented" )
161
161
}
162
162
@@ -168,7 +168,7 @@ func (f *fakeRingClient) State() services.State {
168
168
panic ("not implemented" )
169
169
}
170
170
171
- func (f * fakeRingClient ) AddListener (listener services.Listener ) {
171
+ func (f * fakeRingClient ) AddListener (_ services.Listener ) {
172
172
panic ("not implemented" )
173
173
}
174
174
@@ -179,20 +179,20 @@ func (f *fakeRingClient) Ring() ring.ReadRing {
179
179
type fakeRing struct {}
180
180
181
181
func (f * fakeRing ) Get (
182
- key uint32 ,
183
- op ring.Operation ,
184
- bufDescs []ring.InstanceDesc ,
185
- bufHosts []string ,
186
- bufZones []string ,
182
+ _ uint32 ,
183
+ _ ring.Operation ,
184
+ _ []ring.InstanceDesc ,
185
+ _ []string ,
186
+ _ []string ,
187
187
) (ring.ReplicationSet , error ) {
188
188
panic ("not implemented" )
189
189
}
190
190
191
- func (f * fakeRing ) GetAllHealthy (op ring.Operation ) (ring.ReplicationSet , error ) {
191
+ func (f * fakeRing ) GetAllHealthy (_ ring.Operation ) (ring.ReplicationSet , error ) {
192
192
panic ("not implemented" )
193
193
}
194
194
195
- func (f * fakeRing ) GetReplicationSetForOperation (op ring.Operation ) (ring.ReplicationSet , error ) {
195
+ func (f * fakeRing ) GetReplicationSetForOperation (_ ring.Operation ) (ring.ReplicationSet , error ) {
196
196
return ring.ReplicationSet {}, nil
197
197
}
198
198
@@ -204,31 +204,31 @@ func (f *fakeRing) InstancesCount() int {
204
204
panic ("not implemented" )
205
205
}
206
206
207
- func (f * fakeRing ) ShuffleShard (identifier string , size int ) ring.ReadRing {
207
+ func (f * fakeRing ) ShuffleShard (_ string , _ int ) ring.ReadRing {
208
208
panic ("not implemented" )
209
209
}
210
210
211
- func (f * fakeRing ) GetInstanceState (instanceID string ) (ring.InstanceState , error ) {
211
+ func (f * fakeRing ) GetInstanceState (_ string ) (ring.InstanceState , error ) {
212
212
panic ("not implemented" )
213
213
}
214
214
215
215
func (f * fakeRing ) ShuffleShardWithLookback (
216
- identifier string ,
217
- size int ,
218
- lookbackPeriod time.Duration ,
219
- now time.Time ,
216
+ _ string ,
217
+ _ int ,
218
+ _ time.Duration ,
219
+ _ time.Time ,
220
220
) ring.ReadRing {
221
221
panic ("not implemented" )
222
222
}
223
223
224
- func (f * fakeRing ) HasInstance (instanceID string ) bool {
224
+ func (f * fakeRing ) HasInstance (_ string ) bool {
225
225
panic ("not implemented" )
226
226
}
227
227
228
- func (f * fakeRing ) CleanupShuffleShardCache (identifier string ) {
228
+ func (f * fakeRing ) CleanupShuffleShardCache (_ string ) {
229
229
panic ("not implemented" )
230
230
}
231
231
232
- func (f * fakeRing ) GetTokenRangesForInstance (instanceID string ) (ring.TokenRanges , error ) {
232
+ func (f * fakeRing ) GetTokenRangesForInstance (_ string ) (ring.TokenRanges , error ) {
233
233
panic ("not implemented" )
234
234
}
0 commit comments