Skip to content

Commit

Permalink
updated module name and imports (open-telemetry#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanli02 authored Jun 7, 2022
1 parent a5588e1 commit 0ad0ef8
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions cmd/otel-allocator/discovery/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/go-kit/log"
"github.com/go-logr/logr"
"github.com/otel-allocator/allocation"
allocatorWatcher "github.com/otel-allocator/watcher"
"github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/allocation"
allocatorWatcher "github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/watcher"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/discovery"
Expand Down
4 changes: 2 additions & 2 deletions cmd/otel-allocator/discovery/discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"testing"

gokitlog "github.com/go-kit/log"
"github.com/otel-allocator/allocation"
"github.com/otel-allocator/config"
"github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/allocation"
"github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/config"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/discovery"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion cmd/otel-allocator/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/otel-allocator
module github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator

go 1.18

Expand Down
10 changes: 5 additions & 5 deletions cmd/otel-allocator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import (
gokitlog "github.com/go-kit/log"
"github.com/go-logr/logr"
"github.com/gorilla/mux"
"github.com/otel-allocator/allocation"
"github.com/otel-allocator/collector"
"github.com/otel-allocator/config"
lbdiscovery "github.com/otel-allocator/discovery"
allocatorWatcher "github.com/otel-allocator/watcher"
"github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/allocation"
"github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/collector"
"github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/config"
lbdiscovery "github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/discovery"
allocatorWatcher "github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/watcher"
ctrl "sigs.k8s.io/controller-runtime"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/otel-allocator/watcher/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/fsnotify/fsnotify"
"github.com/go-logr/logr"
"github.com/otel-allocator/config"
"github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/config"
)

type FileWatcher struct {
Expand Down
4 changes: 2 additions & 2 deletions cmd/otel-allocator/watcher/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"

"github.com/go-logr/logr"
"github.com/otel-allocator/allocation"
"github.com/otel-allocator/config"
"github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/allocation"
"github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/config"
)

type Manager struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/otel-allocator/watcher/promOperator.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package watcher
import (
"fmt"

allocatorconfig "github.com/otel-allocator/config"
allocatorconfig "github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/config"

"github.com/go-kit/log"
"github.com/go-logr/logr"
Expand Down

0 comments on commit 0ad0ef8

Please sign in to comment.