Skip to content

Commit 6b410fe

Browse files
fmt
1 parent d435a17 commit 6b410fe

5 files changed

Lines changed: 17 additions & 16 deletions

File tree

receiver/restapireceiver/generated_package_test.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/restapireceiver/integration_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func TestIntegration_EndToEnd_Logs(t *testing.T) {
6060
Mode: paginationModeNone,
6161
},
6262
MaxPollInterval: 100 * time.Millisecond,
63-
ClientConfig: confighttp.ClientConfig{},
63+
ClientConfig: confighttp.ClientConfig{},
6464
}
6565

6666
sink := new(consumertest.LogsSink)
@@ -113,7 +113,7 @@ func TestIntegration_EndToEnd_Metrics(t *testing.T) {
113113
Mode: paginationModeNone,
114114
},
115115
MaxPollInterval: 100 * time.Millisecond,
116-
ClientConfig: confighttp.ClientConfig{},
116+
ClientConfig: confighttp.ClientConfig{},
117117
}
118118

119119
sink := new(consumertest.MetricsSink)
@@ -201,7 +201,7 @@ func TestIntegration_WithPaginationAndAuth(t *testing.T) {
201201
TotalRecordCountField: "total",
202202
},
203203
MaxPollInterval: 100 * time.Millisecond,
204-
ClientConfig: confighttp.ClientConfig{},
204+
ClientConfig: confighttp.ClientConfig{},
205205
}
206206

207207
sink := new(consumertest.LogsSink)
@@ -283,7 +283,7 @@ func TestIntegration_TimestampPagination(t *testing.T) {
283283
},
284284
},
285285
MaxPollInterval: 100 * time.Millisecond,
286-
ClientConfig: confighttp.ClientConfig{},
286+
ClientConfig: confighttp.ClientConfig{},
287287
}
288288

289289
sink := new(consumertest.LogsSink)
@@ -343,7 +343,7 @@ func TestIntegration_ErrorRecovery(t *testing.T) {
343343
Mode: paginationModeNone,
344344
},
345345
MaxPollInterval: 100 * time.Millisecond,
346-
ClientConfig: confighttp.ClientConfig{},
346+
ClientConfig: confighttp.ClientConfig{},
347347
}
348348

349349
sink := new(consumertest.LogsSink)

receiver/restapireceiver/internal/metadata/generated_logs_test.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/restapireceiver/receiver.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const (
3939
backoffMultiplier = 2.0 // Multiplier for increasing interval on empty responses
4040
)
4141

42-
4342
// checkpointData represents the data stored in the checkpoint.
4443
type checkpointData struct {
4544
PaginationState *paginationState `json:"pagination_state"`

receiver/restapireceiver/receiver_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func TestRESTAPIMetricsReceiver_StartShutdown(t *testing.T) {
9797
Mode: paginationModeNone,
9898
},
9999
MaxPollInterval: 100 * time.Millisecond,
100-
ClientConfig: confighttp.ClientConfig{},
100+
ClientConfig: confighttp.ClientConfig{},
101101
}
102102

103103
sink := new(consumertest.MetricsSink)
@@ -176,7 +176,7 @@ func TestRESTAPILogsReceiver_WithPagination(t *testing.T) {
176176
TotalRecordCountField: "total",
177177
},
178178
MaxPollInterval: 100 * time.Millisecond,
179-
ClientConfig: confighttp.ClientConfig{},
179+
ClientConfig: confighttp.ClientConfig{},
180180
}
181181

182182
sink := new(consumertest.LogsSink)
@@ -257,7 +257,7 @@ func TestRESTAPILogsReceiver_WithTimestampPagination(t *testing.T) {
257257
},
258258
},
259259
MaxPollInterval: 100 * time.Millisecond,
260-
ClientConfig: confighttp.ClientConfig{},
260+
ClientConfig: confighttp.ClientConfig{},
261261
}
262262

263263
sink := new(consumertest.LogsSink)
@@ -304,7 +304,7 @@ func TestRESTAPILogsReceiver_ErrorHandling(t *testing.T) {
304304
Mode: paginationModeNone,
305305
},
306306
MaxPollInterval: 100 * time.Millisecond,
307-
ClientConfig: confighttp.ClientConfig{},
307+
ClientConfig: confighttp.ClientConfig{},
308308
}
309309

310310
sink := new(consumertest.LogsSink)
@@ -346,7 +346,7 @@ func TestRESTAPILogsReceiver_EmptyResponse(t *testing.T) {
346346
Mode: paginationModeNone,
347347
},
348348
MaxPollInterval: 100 * time.Millisecond,
349-
ClientConfig: confighttp.ClientConfig{},
349+
ClientConfig: confighttp.ClientConfig{},
350350
}
351351

352352
sink := new(consumertest.LogsSink)
@@ -400,7 +400,7 @@ func TestRESTAPILogsReceiver_NestedResponseField(t *testing.T) {
400400
Mode: paginationModeNone,
401401
},
402402
MaxPollInterval: 100 * time.Millisecond,
403-
ClientConfig: confighttp.ClientConfig{},
403+
ClientConfig: confighttp.ClientConfig{},
404404
}
405405

406406
sink := new(consumertest.LogsSink)
@@ -465,7 +465,7 @@ func TestRESTAPILogsReceiver_DeeplyNestedResponseField(t *testing.T) {
465465
Mode: paginationModeNone,
466466
},
467467
MaxPollInterval: 100 * time.Millisecond,
468-
ClientConfig: confighttp.ClientConfig{},
468+
ClientConfig: confighttp.ClientConfig{},
469469
}
470470

471471
sink := new(consumertest.LogsSink)

0 commit comments

Comments
 (0)