Skip to content

Commit

Permalink
Use flagext package from cortexproject
Browse files Browse the repository at this point in the history
This also removes the dependency on grafana/dskit since it was only used
for its flagext package.

Fixes: #23

Signed-off-by: Charlie Le <[email protected]>
  • Loading branch information
CharlieTLe committed Mar 22, 2024
1 parent 9481a59 commit 33370ed
Show file tree
Hide file tree
Showing 33 changed files with 3 additions and 5,450 deletions.
2 changes: 1 addition & 1 deletion cmd/benchtool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"os"
"os/signal"

"github.com/cortexproject/cortex/pkg/util/flagext"
logutil "github.com/cortexproject/cortex/pkg/util/log"
"github.com/go-kit/log/level"
"github.com/grafana/dskit/flagext"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/weaveworks/common/logging"
Expand Down
2 changes: 1 addition & 1 deletion cmd/blockscopy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import (

"cloud.google.com/go/storage"
"github.com/cortexproject/cortex/pkg/storage/tsdb/bucketindex"
"github.com/cortexproject/cortex/pkg/util/flagext"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/grafana/dskit/concurrency"
"github.com/grafana/dskit/flagext"
"github.com/oklog/ulid"
"github.com/pkg/errors"
"github.com/prometheus/client_golang/prometheus"
Expand Down
2 changes: 1 addition & 1 deletion cmd/e2ealerting/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/cortexproject/cortex-tools/pkg/alerting"
"github.com/go-kit/log/level"

"github.com/cortexproject/cortex/pkg/util/flagext"
util_log "github.com/cortexproject/cortex/pkg/util/log"
"github.com/grafana/dskit/flagext"
"github.com/prometheus/client_golang/prometheus"
"github.com/weaveworks/common/logging"
"github.com/weaveworks/common/server"
Expand Down
117 changes: 0 additions & 117 deletions vendor/github.com/grafana/dskit/backoff/backoff.go

This file was deleted.

87 changes: 0 additions & 87 deletions vendor/github.com/grafana/dskit/crypto/tls/tls.go

This file was deleted.

82 changes: 0 additions & 82 deletions vendor/github.com/grafana/dskit/flagext/cidr.go

This file was deleted.

59 changes: 0 additions & 59 deletions vendor/github.com/grafana/dskit/flagext/day.go

This file was deleted.

Loading

0 comments on commit 33370ed

Please sign in to comment.