Merge pull request #7728 from influxdata/js-zap-proper-import

Use proper uber-go/zap import path
pull/7729/head
Jonathan A. Sternberg 2016-12-15 11:01:55 -06:00 committed by GitHub
commit a015996c3e
37 changed files with 37 additions and 37 deletions

2
Godeps
View File

@ -16,5 +16,5 @@ github.com/peterh/liner 8975875355a81d612fafb9f5a6037bdcc2d9b073
github.com/rakyll/statik e383bbf6b2ec1a2fb8492dfd152d945fb88919b6
github.com/retailnext/hllpp 38a7bb71b483e855d35010808143beaf05b67f9d
github.com/uber-go/atomic 9e99152552a6ce13fa3b2ce4a9c4fb117cca4506
github.com/uber-go/zap fbae0281ffd546fa6d1959fec6075ac5da7fb577
go.uber.org/zap 05dadc4e239529c50d6f730c17f0a3aaf35b64fd
golang.org/x/crypto 9477e0b78b9ac3d0b03822fd95422e2fe07627cd

View File

@ -15,7 +15,7 @@ import (
"github.com/influxdata/influxdb/cmd/influxd/help"
"github.com/influxdata/influxdb/cmd/influxd/restore"
"github.com/influxdata/influxdb/cmd/influxd/run"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// These variables are populated via the Go linker.

View File

@ -12,7 +12,7 @@ import (
"strconv"
"time"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
const logo = `

View File

@ -31,7 +31,7 @@ import (
"github.com/influxdata/influxdb/tcp"
"github.com/influxdata/influxdb/tsdb"
client "github.com/influxdata/usage-client/v1"
"github.com/uber-go/zap"
"go.uber.org/zap"
// Initialize the engine packages
_ "github.com/influxdata/influxdb/tsdb/engine"
)

View File

@ -12,7 +12,7 @@ import (
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/influxdata/influxdb/tsdb"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// The statistics generated by the "write" mdoule

View File

@ -16,7 +16,7 @@ import (
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/influxdata/influxdb/tsdb"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
const (

View File

@ -9,7 +9,7 @@ import (
"time"
"github.com/influxdata/influxdb/models"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
var (

View File

@ -6,7 +6,7 @@ import (
"time"
"github.com/influxdata/influxdb/models"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
const (

View File

@ -14,7 +14,7 @@ import (
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/monitor/diagnostics"
"github.com/influxdata/influxdb/services/meta"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// Policy constants.

View File

@ -10,7 +10,7 @@ import (
// Register static assets via statik.
_ "github.com/influxdata/influxdb/services/admin/statik"
"github.com/rakyll/statik/fs"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// Service manages the listener for an admin endpoint.

View File

@ -16,7 +16,7 @@ import (
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/influxdata/influxdb/tsdb"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// statistics gathered by the collectd service.

View File

@ -13,7 +13,7 @@ import (
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/influxdata/influxdb/toml"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
func TestService_OpenClose(t *testing.T) {

View File

@ -11,7 +11,7 @@ import (
"github.com/influxdata/influxdb/influxql"
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
const (

View File

@ -12,7 +12,7 @@ import (
"github.com/influxdata/influxdb/influxql"
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
var (

View File

@ -14,7 +14,7 @@ import (
"github.com/influxdata/influxdb/monitor/diagnostics"
"github.com/influxdata/influxdb/services/meta"
"github.com/influxdata/influxdb/tsdb"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
const udpBufferSize = 65536

View File

@ -13,7 +13,7 @@ import (
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/influxdata/influxdb/toml"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
func Test_Service_OpenClose(t *testing.T) {

View File

@ -27,7 +27,7 @@ import (
"github.com/influxdata/influxdb/services/meta"
"github.com/influxdata/influxdb/tsdb"
"github.com/influxdata/influxdb/uuid"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
const (

View File

@ -13,7 +13,7 @@ import (
"time"
"github.com/influxdata/influxdb/models"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// statistics gathered by the httpd package.

View File

@ -18,7 +18,7 @@ import (
"github.com/influxdata/influxdb"
"github.com/influxdata/influxdb/influxql"
"github.com/uber-go/zap"
"go.uber.org/zap"
"golang.org/x/crypto/bcrypt"
)

View File

@ -15,7 +15,7 @@ import (
"github.com/influxdata/influxdb"
"github.com/influxdata/influxdb/models"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// Handler is an http.Handler for the service.

View File

@ -18,7 +18,7 @@ import (
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/influxdata/influxdb/tsdb"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// statistics gathered by the openTSDB package.

View File

@ -16,7 +16,7 @@ import (
"github.com/influxdata/influxdb/internal"
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
func Test_Service_OpenClose(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"sync"
"time"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// Service manages the shard precreation service.

View File

@ -6,7 +6,7 @@ import (
"time"
"github.com/influxdata/influxdb/services/meta"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// Service represents the retention policy enforcement service.

View File

@ -14,7 +14,7 @@ import (
"github.com/influxdata/influxdb"
"github.com/influxdata/influxdb/services/meta"
"github.com/influxdata/influxdb/tsdb"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
const (

View File

@ -12,7 +12,7 @@ import (
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/monitor"
"github.com/influxdata/influxdb/services/meta"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// Statistics for the Subscriber service.

View File

@ -11,7 +11,7 @@ import (
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/influxdata/influxdb/tsdb"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
const (

View File

@ -9,7 +9,7 @@ import (
"github.com/influxdata/influxdb/internal"
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/services/meta"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
func TestService_OpenClose(t *testing.T) {

View File

@ -10,7 +10,7 @@ import (
"github.com/influxdata/influxdb/influxql"
"github.com/influxdata/influxdb/models"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
var (

View File

@ -10,7 +10,7 @@ import (
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/tsdb"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// ringShards specifies the number of partitions that the hash ring used to

View File

@ -19,7 +19,7 @@ import (
"github.com/influxdata/influxdb/influxql"
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/tsdb"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
//go:generate tmpl -data=@iterator.gen.go.tmpldata iterator.gen.go.tmpl

View File

@ -15,7 +15,7 @@ import (
"time"
"github.com/influxdata/influxdb/models"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
type TSMFile interface {

View File

@ -11,7 +11,7 @@ import (
"time"
"github.com/influxdata/influxdb/tsdb/engine/tsm1"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
func TestFileStore_Read(t *testing.T) {

View File

@ -19,7 +19,7 @@ import (
"github.com/golang/snappy"
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/pkg/limiter"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
const (

View File

@ -17,7 +17,7 @@ import (
"github.com/influxdata/influxdb/influxql"
"github.com/influxdata/influxdb/models"
internal "github.com/influxdata/influxdb/tsdb/internal"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// monitorStatInterval is the interval at which the shard is inspected

View File

@ -19,7 +19,7 @@ import (
"github.com/influxdata/influxdb/pkg/deep"
"github.com/influxdata/influxdb/tsdb"
_ "github.com/influxdata/influxdb/tsdb/engine"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
// DefaultPrecision is the precision used by the MustWritePointsString() function.

View File

@ -17,7 +17,7 @@ import (
"github.com/influxdata/influxdb/influxql"
"github.com/influxdata/influxdb/models"
"github.com/influxdata/influxdb/pkg/limiter"
"github.com/uber-go/zap"
"go.uber.org/zap"
)
var (