fmt
This commit is contained in:
parent
b2ac9d930a
commit
358e04bfa2
|
|
@ -419,7 +419,7 @@ func TestGetValidCapacityReservations(t *testing.T) {
|
||||||
|
|
||||||
func installTestLogger(webhook *HorizontalRunnerAutoscalerGitHubWebhook) *bytes.Buffer {
|
func installTestLogger(webhook *HorizontalRunnerAutoscalerGitHubWebhook) *bytes.Buffer {
|
||||||
logs := &bytes.Buffer{}
|
logs := &bytes.Buffer{}
|
||||||
|
|
||||||
// Wrap the buffer with a synchronized writer to prevent race conditions
|
// Wrap the buffer with a synchronized writer to prevent race conditions
|
||||||
syncWriter := &syncWriter{
|
syncWriter := &syncWriter{
|
||||||
writer: logs,
|
writer: logs,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue