Skip to content

Commit b0bbb36

Browse files
committed
fixed Lint and UT error
1 parent 81d101e commit b0bbb36

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/collector/otel_collector_plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"errors"
1010
"fmt"
1111
"log/slog"
12-
"net/url"
1312
"net"
13+
"net/url"
1414
"os"
1515
"strings"
1616
"sync"

internal/collector/otel_collector_plugin_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"bytes"
99
"context"
1010
"errors"
11+
"net"
1112
"net/url"
1213
"os"
13-
"net"
1414
"path/filepath"
1515
"testing"
1616

@@ -904,7 +904,7 @@ func TestSetExporterProxyEnvVars(t *testing.T) {
904904
os.Unsetenv("HTTP_PROXY")
905905
os.Unsetenv("HTTPS_PROXY")
906906
}
907-
}
907+
})
908908
}
909909
}
910910

0 commit comments

Comments
 (0)