Skip to content

Commit

Permalink
*: use lower-case of github.com/sirupsen/logrus (pingcap#5400)
Browse files Browse the repository at this point in the history
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
  • Loading branch information
holys authored Dec 14, 2017
1 parent 6ee266d commit f1e89cd
Show file tree
Hide file tree
Showing 112 changed files with 101 additions and 101 deletions.
2 changes: 1 addition & 1 deletion _vendor/src/github.com/pingcap/mysqlx-driver/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"net"
"strings"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/golang/protobuf/proto"
"github.com/juju/errors"
"github.com/pingcap/tipb/go-mysqlx"
Expand Down
2 changes: 1 addition & 1 deletion _vendor/src/github.com/pingcap/mysqlx-driver/datatypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"fmt"
"strings"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/pingcap/tipb/go-mysqlx/Datatypes"
)

Expand Down
2 changes: 1 addition & 1 deletion _vendor/src/github.com/pingcap/mysqlx-driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"database/sql/driver"
"net"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/juju/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion _vendor/src/github.com/pingcap/mysqlx-driver/mysql41.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"fmt"
"io"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/juju/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion _vendor/src/github.com/pingcap/mysqlx-driver/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"database/sql/driver"
"fmt"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/golang/protobuf/proto"
"github.com/juju/errors"
"github.com/pingcap/tipb/go-mysqlx"
Expand Down
2 changes: 1 addition & 1 deletion _vendor/src/github.com/pingcap/mysqlx-driver/rows.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"database/sql/driver"
"io"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/golang/protobuf/proto"
"github.com/juju/errors"
"github.com/pingcap/tipb/go-mysqlx"
Expand Down
2 changes: 1 addition & 1 deletion _vendor/src/github.com/pingcap/pd/pd-client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import (
"sync"
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/opentracing/opentracing-go"
"github.com/pingcap/kvproto/pkg/metapb"
"github.com/pingcap/kvproto/pkg/pdpb"
log "github.com/sirupsen/logrus"
"golang.org/x/net/context"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
Expand Down
2 changes: 1 addition & 1 deletion bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"testing"
"time"

log "github.com/Sirupsen/logrus"
"github.com/pingcap/tidb/ast"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ import (
"strings"
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/ddl"
"github.com/pingcap/tidb/infoschema"
"github.com/pingcap/tidb/mysql"
"github.com/pingcap/tidb/sessionctx/variable"
"github.com/pingcap/tidb/terror"
"github.com/pingcap/tidb/util/auth"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/benchdb/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import (
"strings"
"time"

log "github.com/Sirupsen/logrus"
"github.com/pingcap/tidb"
"github.com/pingcap/tidb/store/tikv"
"github.com/pingcap/tidb/store/tikv/gcworker"
"github.com/pingcap/tidb/terror"
"github.com/pingcap/tidb/util/logutil"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/benchfilesort/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ import (
"runtime/pprof"
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/sessionctx/stmtctx"
"github.com/pingcap/tidb/terror"
"github.com/pingcap/tidb/types"
"github.com/pingcap/tidb/util/codec"
"github.com/pingcap/tidb/util/filesort"
"github.com/pingcap/tidb/util/logutil"
log "github.com/sirupsen/logrus"
)

type comparableRow struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/benchkv/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ import (

_ "github.com/go-sql-driver/mysql"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/kv"
"github.com/pingcap/tidb/store/tikv"
"github.com/pingcap/tidb/terror"
"github.com/prometheus/client_golang/prometheus"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/benchraw/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import (
"sync"
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/config"
"github.com/pingcap/tidb/store/tikv"
"github.com/pingcap/tidb/terror"
log "github.com/sirupsen/logrus"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion ddl/column.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ package ddl
import (
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/ast"
"github.com/pingcap/tidb/context"
Expand All @@ -29,6 +28,7 @@ import (
"github.com/pingcap/tidb/table"
"github.com/pingcap/tidb/tablecodec"
"github.com/pingcap/tidb/types"
log "github.com/sirupsen/logrus"
)

func (d *ddl) adjustColumnOffset(columns []*model.ColumnInfo, indices []*model.IndexInfo, offset int, added bool) {
Expand Down
2 changes: 1 addition & 1 deletion ddl/ddl.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"sync"
"time"

log "github.com/Sirupsen/logrus"
"github.com/coreos/etcd/clientv3"
"github.com/juju/errors"
"github.com/ngaut/pools"
Expand All @@ -38,6 +37,7 @@ import (
"github.com/pingcap/tidb/sessionctx/binloginfo"
"github.com/pingcap/tidb/sessionctx/variable"
"github.com/pingcap/tidb/terror"
log "github.com/sirupsen/logrus"
"github.com/twinj/uuid"
goctx "golang.org/x/net/context"
)
Expand Down
2 changes: 1 addition & 1 deletion ddl/ddl_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ package ddl
import (
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/context"
"github.com/pingcap/tidb/kv"
"github.com/pingcap/tidb/meta"
"github.com/pingcap/tidb/model"
"github.com/pingcap/tidb/sessionctx/binloginfo"
"github.com/pingcap/tidb/terror"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion ddl/delete_range.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"fmt"
"math"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/ngaut/pools"
"github.com/pingcap/tidb/context"
Expand All @@ -31,6 +30,7 @@ import (
"github.com/pingcap/tidb/tablecodec"
"github.com/pingcap/tidb/terror"
"github.com/pingcap/tidb/util/sqlexec"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion ddl/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"sync"
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/ast"
"github.com/pingcap/tidb/context"
Expand All @@ -32,6 +31,7 @@ import (
"github.com/pingcap/tidb/tablecodec"
"github.com/pingcap/tidb/types"
"github.com/pingcap/tidb/util"
log "github.com/sirupsen/logrus"
)

const maxPrefixLength = 3072
Expand Down
2 changes: 1 addition & 1 deletion ddl/reorg.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ import (
"sync/atomic"
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/context"
"github.com/pingcap/tidb/kv"
"github.com/pingcap/tidb/meta"
"github.com/pingcap/tidb/model"
"github.com/pingcap/tidb/mysql"
"github.com/pingcap/tidb/util/mock"
log "github.com/sirupsen/logrus"
)

// reorgCtx is for reorganization.
Expand Down
2 changes: 1 addition & 1 deletion ddl/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import (
"strconv"
"time"

log "github.com/Sirupsen/logrus"
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/clientv3/concurrency"
"github.com/juju/errors"
"github.com/pingcap/tidb/owner"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion domain/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"time"
"unsafe"

log "github.com/Sirupsen/logrus"
"github.com/coreos/etcd/clientv3"
"github.com/grpc-ecosystem/go-grpc-prometheus"
"github.com/juju/errors"
Expand All @@ -36,6 +35,7 @@ import (
"github.com/pingcap/tidb/sessionctx/variable"
"github.com/pingcap/tidb/statistics"
"github.com/pingcap/tidb/terror"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
"google.golang.org/grpc"
)
Expand Down
2 changes: 1 addition & 1 deletion domain/schema_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"sync"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
)

type checkResult int
Expand Down
2 changes: 1 addition & 1 deletion executor/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"math"
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/ast"
"github.com/pingcap/tidb/config"
Expand All @@ -33,6 +32,7 @@ import (
"github.com/pingcap/tidb/types"
"github.com/pingcap/tidb/util/chunk"
"github.com/pingcap/tidb/util/logutil"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion executor/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"strconv"
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/context"
"github.com/pingcap/tidb/distsql"
Expand All @@ -32,6 +31,7 @@ import (
"github.com/pingcap/tidb/types"
"github.com/pingcap/tidb/util/ranger"
"github.com/pingcap/tipb/go-tipb"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion executor/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
package executor

import (
log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/opentracing/opentracing-go"
"github.com/pingcap/tidb/ast"
"github.com/pingcap/tidb/context"
"github.com/pingcap/tidb/infoschema"
"github.com/pingcap/tidb/plan"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion executor/distsql.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"sync/atomic"
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/opentracing/opentracing-go"
"github.com/pingcap/tidb/ast"
Expand All @@ -40,6 +39,7 @@ import (
"github.com/pingcap/tidb/util/codec"
"github.com/pingcap/tidb/util/ranger"
"github.com/pingcap/tipb/go-tipb"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion executor/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ import (
"fmt"
"strings"

log "github.com/Sirupsen/logrus"
"github.com/pingcap/tidb/ast"
"github.com/pingcap/tidb/model"
"github.com/pingcap/tidb/mysql"
"github.com/pingcap/tidb/plan"
"github.com/prometheus/client_golang/prometheus"
log "github.com/sirupsen/logrus"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion executor/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"strings"
"time"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/ast"
"github.com/pingcap/tidb/context"
Expand All @@ -32,6 +31,7 @@ import (
"github.com/pingcap/tidb/util/charset"
"github.com/pingcap/tidb/util/chunk"
"github.com/pingcap/tidb/util/sqlexec"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion executor/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (
"fmt"
"strings"

log "github.com/Sirupsen/logrus"
"github.com/juju/errors"
"github.com/pingcap/tidb/ast"
"github.com/pingcap/tidb/context"
Expand All @@ -30,6 +29,7 @@ import (
"github.com/pingcap/tidb/terror"
"github.com/pingcap/tidb/util/auth"
"github.com/pingcap/tidb/util/sqlexec"
log "github.com/sirupsen/logrus"
goctx "golang.org/x/net/context"
)

Expand Down
Loading

0 comments on commit f1e89cd

Please sign in to comment.