Adjust import names to new repository organisation

This commit is contained in:
Fabian Reinartz 2017-04-04 11:27:26 +02:00
parent 767b88a3a5
commit 10c7c9acbe
13 changed files with 17 additions and 18 deletions

View File

@ -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 (

View File

@ -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)

View File

@ -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"
)

View File

@ -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

2
db.go
View File

@ -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

View File

@ -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 (

View File

@ -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"

View File

@ -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 (

View File

@ -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"
)

View File

@ -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

View File

@ -4,7 +4,7 @@ import (
"sort"
"testing"
"github.com/fabxc/tsdb/labels"
"github.com/prometheus/tsdb/labels"
"github.com/stretchr/testify/require"
)

2
wal.go
View File

@ -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.

View File

@ -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"
)