Skip to content

Commit b6d83ca

Browse files
committed
fix: gci lint issue and image build issue
1 parent 527c0de commit b6d83ca

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@
77

88
LICENSE
99
*.md
10+
# Exclude Go test files from Docker build context to prevent test-only code being compiled into images
11+
**/*_test.go
12+
# Safeguard for any stray non-_test helper that could be cached/pulled in CI
13+
network/test_network.go

network/peer_tracker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"github.com/ava-labs/avalanchego/utils/set"
1313
"github.com/ava-labs/avalanchego/version"
1414
"github.com/ava-labs/libevm/log"
15-
evmmetrics "github.com/ava-labs/libevm/metrics" // alias to avoid name collision with local 'metrics' in this package
1615

1716
safemath "github.com/ava-labs/avalanchego/utils/math"
17+
evmmetrics "github.com/ava-labs/libevm/metrics" // alias to avoid name collision with local 'metrics' in this package
1818
)
1919

2020
const (

0 commit comments

Comments
 (0)