From 10c7c9acbe0175a411bce90cd7a0d9d7a13d6a83 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Tue, 4 Apr 2017 11:27:26 +0200 Subject: [PATCH] Adjust import names to new repository organisation --- chunks.go | 2 +- chunks_test.go | 2 +- cmd/tsdb/main.go | 4 ++-- compact.go | 2 +- db.go | 2 +- head.go | 4 ++-- head_test.go | 2 +- index.go | 2 +- index_test.go | 2 +- querier.go | 4 ++-- querier_test.go | 2 +- wal.go | 2 +- wal_test.go | 5 ++--- 13 files changed, 17 insertions(+), 18 deletions(-) diff --git a/chunks.go b/chunks.go index 8fadeb3f1b..4bdc3a9a29 100644 --- a/chunks.go +++ b/chunks.go @@ -10,8 +10,8 @@ import ( "os" "github.com/coreos/etcd/pkg/fileutil" - "github.com/fabxc/tsdb/chunks" "github.com/pkg/errors" + "github.com/prometheus/tsdb/chunks" ) const ( diff --git a/chunks_test.go b/chunks_test.go index 3255ffe3ec..b409bb2131 100644 --- a/chunks_test.go +++ b/chunks_test.go @@ -1,6 +1,6 @@ package tsdb -import "github.com/fabxc/tsdb/chunks" +import "github.com/prometheus/tsdb/chunks" type mockChunkReader struct { chunk func(ref uint64) (chunks.Chunk, error) diff --git a/cmd/tsdb/main.go b/cmd/tsdb/main.go index 24c8369465..006efa59a9 100644 --- a/cmd/tsdb/main.go +++ b/cmd/tsdb/main.go @@ -15,10 +15,10 @@ import ( "time" "unsafe" - "github.com/fabxc/tsdb" - "github.com/fabxc/tsdb/labels" promlabels "github.com/prometheus/prometheus/pkg/labels" "github.com/prometheus/prometheus/pkg/textparse" + "github.com/prometheus/tsdb" + "github.com/prometheus/tsdb/labels" "github.com/spf13/cobra" ) diff --git a/compact.go b/compact.go index 6fea5fef0b..2b6a8a31c7 100644 --- a/compact.go +++ b/compact.go @@ -8,11 +8,11 @@ import ( "time" "github.com/coreos/etcd/pkg/fileutil" - "github.com/fabxc/tsdb/labels" "github.com/go-kit/kit/log" "github.com/oklog/ulid" "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/tsdb/labels" ) // Compactor provides compaction against an underlying storage diff --git a/db.go b/db.go index e6ec3bca09..5a3e19766b 100644 --- a/db.go +++ b/db.go @@ -18,11 +18,11 @@ import ( "golang.org/x/sync/errgroup" "github.com/coreos/etcd/pkg/fileutil" - "github.com/fabxc/tsdb/labels" "github.com/go-kit/kit/log" "github.com/nightlyone/lockfile" "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/tsdb/labels" ) // DefaultOptions used for the DB. They are sane for setups using diff --git a/head.go b/head.go index d1b9a92003..3a98b7a4ea 100644 --- a/head.go +++ b/head.go @@ -10,11 +10,11 @@ import ( "sync/atomic" "time" - "github.com/fabxc/tsdb/chunks" - "github.com/fabxc/tsdb/labels" "github.com/go-kit/kit/log" "github.com/oklog/ulid" "github.com/pkg/errors" + "github.com/prometheus/tsdb/chunks" + "github.com/prometheus/tsdb/labels" ) var ( diff --git a/head_test.go b/head_test.go index c133b99ed2..21e0865f87 100644 --- a/head_test.go +++ b/head_test.go @@ -6,8 +6,8 @@ import ( "testing" "unsafe" - "github.com/fabxc/tsdb/labels" "github.com/pkg/errors" + "github.com/prometheus/tsdb/labels" promlabels "github.com/prometheus/prometheus/pkg/labels" "github.com/prometheus/prometheus/pkg/textparse" diff --git a/index.go b/index.go index 7a4790af03..b787567361 100644 --- a/index.go +++ b/index.go @@ -13,8 +13,8 @@ import ( "strings" "github.com/coreos/etcd/pkg/fileutil" - "github.com/fabxc/tsdb/labels" "github.com/pkg/errors" + "github.com/prometheus/tsdb/labels" ) const ( diff --git a/index_test.go b/index_test.go index d84e7ab4e4..73c90a52ae 100644 --- a/index_test.go +++ b/index_test.go @@ -8,8 +8,8 @@ import ( "sort" "testing" - "github.com/fabxc/tsdb/labels" "github.com/pkg/errors" + "github.com/prometheus/tsdb/labels" "github.com/stretchr/testify/require" ) diff --git a/querier.go b/querier.go index d4e71e8218..93a3d88ecc 100644 --- a/querier.go +++ b/querier.go @@ -5,8 +5,8 @@ import ( "sort" "strings" - "github.com/fabxc/tsdb/chunks" - "github.com/fabxc/tsdb/labels" + "github.com/prometheus/tsdb/chunks" + "github.com/prometheus/tsdb/labels" ) // Querier provides querying access over time series data of a fixed diff --git a/querier_test.go b/querier_test.go index 6330df6579..87e81c8be1 100644 --- a/querier_test.go +++ b/querier_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - "github.com/fabxc/tsdb/labels" + "github.com/prometheus/tsdb/labels" "github.com/stretchr/testify/require" ) diff --git a/wal.go b/wal.go index 17be0eb91b..d5fdd9c55b 100644 --- a/wal.go +++ b/wal.go @@ -13,9 +13,9 @@ import ( "time" "github.com/coreos/etcd/pkg/fileutil" - "github.com/fabxc/tsdb/labels" "github.com/go-kit/kit/log" "github.com/pkg/errors" + "github.com/prometheus/tsdb/labels" ) // WALEntryType indicates what data a WAL entry contains. diff --git a/wal_test.go b/wal_test.go index 6a4205c1c4..bfd565b4f1 100644 --- a/wal_test.go +++ b/wal_test.go @@ -8,10 +8,9 @@ import ( "os" "testing" - "github.com/fabxc/tsdb/labels" - "github.com/go-kit/kit/log" - "github.com/coreos/etcd/pkg/fileutil" + "github.com/go-kit/kit/log" + "github.com/prometheus/tsdb/labels" "github.com/stretchr/testify/require" )