Skip to content

Commit c1c6845

Browse files
Move pkg/fswatcher to internal/fswatcher (#6895)
## Which problem is this PR solving? - Moves `pkg/fswatcher` to `internal/fswatcher` as part of issue #6869 ## Description of the changes - Moved `pkg/fswatcher` to `internal/fswatcher` - Updated all imports referencing `pkg/fswatcher` to `internal/fswatcher` ## How was this change tested? - Verified that the code compiles successfully: ```bash make build ``` - Ran tests for fswatcher to ensure functionality remains intact: ```bash go test -v ./internal/fswatcher/... ``` - Ran all tests to confirm that no other parts of the project were affected: ```bash make test ``` ## 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: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]>
1 parent 23cf383 commit c1c6845

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

cmd/query/app/static_handler.go

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

2222
"github.com/jaegertracing/jaeger/cmd/query/app/querysvc"
2323
"github.com/jaegertracing/jaeger/cmd/query/app/ui"
24-
"github.com/jaegertracing/jaeger/pkg/fswatcher"
24+
"github.com/jaegertracing/jaeger/internal/fswatcher"
2525
"github.com/jaegertracing/jaeger/pkg/version"
2626
)
2727

cmd/query/app/static_handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"github.com/jaegertracing/jaeger/internal/testutils"
2828
)
2929

30-
//go:generate mockery -all -dir ../../../pkg/fswatcher
30+
//go:generate mockery -all -dir ../../../internal/fswatcher
3131

3232
func TestNotExistingUiConfig(t *testing.T) {
3333
handler, err := NewStaticAssetsHandler("/foo/bar", StaticAssetsHandlerOptions{
File renamed without changes.

internal/storage/v1/elasticsearch/factory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"go.opentelemetry.io/otel/trace"
2121
"go.uber.org/zap"
2222

23+
"github.com/jaegertracing/jaeger/internal/fswatcher"
2324
"github.com/jaegertracing/jaeger/internal/storage/v1"
2425
"github.com/jaegertracing/jaeger/internal/storage/v1/api/dependencystore"
2526
"github.com/jaegertracing/jaeger/internal/storage/v1/api/samplingstore"
@@ -31,7 +32,6 @@ import (
3132
esSpanStore "github.com/jaegertracing/jaeger/internal/storage/v1/elasticsearch/spanstore"
3233
"github.com/jaegertracing/jaeger/pkg/es"
3334
"github.com/jaegertracing/jaeger/pkg/es/config"
34-
"github.com/jaegertracing/jaeger/pkg/fswatcher"
3535
"github.com/jaegertracing/jaeger/pkg/metrics"
3636
)
3737

0 commit comments

Comments
 (0)