Skip to content

Commit e8c5706

Browse files
sAchin-680amol-verma-allen
authored andcommitted
Move pkg/gzipfs to internal/gzipfs (jaegertracing#6897)
## Which problem is this PR solving? - **Resolves** jaegertracing#6869 ## Description of the changes - Moved `pkg/gzipfs/` to `internal/gzipfs/` - Updated all imports referencing `pkg/gzipfs/` to `internal/gzipfs/` ## How was this change tested? - ## Checklist - [ ] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [ ] I have signed all commits - [ ] I have added unit tests for the new functionality - [ ] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `npm run lint` and `npm run test` Signed-off-by: sAchin-680 <[email protected]> Signed-off-by: amol-verma-allen <[email protected]>
1 parent a67cfc1 commit e8c5706

File tree

8 files changed

+2
-2
lines changed

8 files changed

+2
-2
lines changed

cmd/query/app/ui/assets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"go.uber.org/zap"
1111

12-
"github.com/jaegertracing/jaeger/pkg/gzipfs"
12+
"github.com/jaegertracing/jaeger/internal/gzipfs"
1313
"github.com/jaegertracing/jaeger/pkg/httpfs"
1414
)
1515

File renamed without changes.

pkg/gzipfs/gzip_test.go renamed to internal/gzipfs/gzip_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func TestFS(t *testing.T) {
9090
// To provide coverage of the error from io.ReadAll function, we use a file
9191
// that is a copy of proper gzipped file testdata/foobaz.gz but truncated
9292
// to 36 bytes with:
93-
// perl -e "truncate 'pkg/gzipfs/testdata/foobaz_truncated.gz', 36"
93+
// perl -e "truncate 'internal/gzipfs/testdata/foobaz_truncated.gz', 36"
9494
// This allows gzip.NewReader() to succeed because the file has a proper gz
9595
// header, but subsequent read fails with unexpected EOF.
9696
name: "compressed but truncated file accessed without gz extension",
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)