Skip to content

Commit

Permalink
Fix logrus import path (cadence-workflow#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
madhuravi authored Jun 20, 2017
1 parent 06e3f8c commit e17dfec
Show file tree
Hide file tree
Showing 28 changed files with 56 additions and 50 deletions.
2 changes: 1 addition & 1 deletion common/cassandra_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"io/ioutil"
"os"

log "github.com/Sirupsen/logrus"
"github.com/gocql/gocql"
log "github.com/sirupsen/logrus"
"github.com/uber/cadence/tools/cassandra"
)

Expand Down
2 changes: 1 addition & 1 deletion common/membership/rpMonitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"testing"
"time"

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

"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
Expand Down
2 changes: 1 addition & 1 deletion common/membership/rp_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"strings"
"time"

log "github.com/Sirupsen/logrus"
"github.com/pborman/uuid"
log "github.com/sirupsen/logrus"
"github.com/uber/ringpop-go"
"github.com/uber/ringpop-go/discovery/statichosts"
"github.com/uber/ringpop-go/swim"
Expand Down
2 changes: 1 addition & 1 deletion common/persistence/cassandraHistoryPersistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"os"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

Expand Down
2 changes: 1 addition & 1 deletion common/persistence/cassandraMetadataPersistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"os"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

Expand Down
2 changes: 1 addition & 1 deletion common/persistence/cassandraPersistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"testing"
"time"

log "github.com/Sirupsen/logrus"
"github.com/pborman/uuid"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

Expand Down
2 changes: 1 addition & 1 deletion common/persistence/cassandraVisibilityPersistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"testing"
"time"

log "github.com/Sirupsen/logrus"
"github.com/pborman/uuid"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

Expand Down
2 changes: 1 addition & 1 deletion common/persistence/historySerializer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
package persistence

import (
log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
"github.com/uber-common/bark"
Expand Down
2 changes: 1 addition & 1 deletion common/persistence/persistenceTestBase.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import (
"sync/atomic"
"time"

log "github.com/Sirupsen/logrus"
"github.com/gocql/gocql"
"github.com/pborman/uuid"
log "github.com/sirupsen/logrus"
"github.com/uber-common/bark"

"github.com/uber-go/tally"
Expand Down
2 changes: 1 addition & 1 deletion common/persistence/shardPersistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"testing"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

Expand Down
2 changes: 1 addition & 1 deletion common/service/config/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
package config

import (
"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/uber-common/bark"
"io"
"io/ioutil"
Expand Down
2 changes: 1 addition & 1 deletion common/service/config/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
package config

import (
"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
"io/ioutil"
Expand Down
2 changes: 1 addition & 1 deletion common/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"github.com/uber/cadence/common/metrics"
"github.com/uber/cadence/common/service/config"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/uber-common/bark"
"github.com/uber-go/tally"
ringpop "github.com/uber/ringpop-go"
Expand Down
52 changes: 29 additions & 23 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion host/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"testing"
"time"

log "github.com/Sirupsen/logrus"
"github.com/pborman/uuid"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
"github.com/uber-common/bark"
Expand Down
2 changes: 1 addition & 1 deletion service/history/historyBuilder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package history
import (
"testing"

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

"github.com/pborman/uuid"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion service/history/historyCache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ package history
import (
"testing"

log "github.com/Sirupsen/logrus"
"github.com/pborman/uuid"
log "github.com/sirupsen/logrus"

"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
Expand Down
2 changes: 1 addition & 1 deletion service/history/historyEngine2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"os"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
Expand Down
2 changes: 1 addition & 1 deletion service/history/historyEngine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
"os"
"testing"

log "github.com/Sirupsen/logrus"
"github.com/pborman/uuid"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
Expand Down
2 changes: 1 addition & 1 deletion service/history/shardController_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"fmt"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
"github.com/uber-common/bark"
Expand Down
2 changes: 1 addition & 1 deletion service/history/timerBuilder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

"encoding/json"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/suite"
"github.com/uber-common/bark"
workflow "github.com/uber/cadence/.gen/go/shared"
Expand Down
2 changes: 1 addition & 1 deletion service/history/timerQueueProcessor2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
"github.com/uber/cadence/common/mocks"
"github.com/uber/cadence/common/persistence"

log "github.com/Sirupsen/logrus"
"github.com/pborman/uuid"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
"github.com/uber-common/bark"
Expand Down
2 changes: 1 addition & 1 deletion service/history/timerQueueProcessor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"github.com/uber/cadence/common/mocks"
"github.com/uber/cadence/common/persistence"

log "github.com/Sirupsen/logrus"
"github.com/pborman/uuid"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/suite"
"github.com/uber-common/bark"
workflow "github.com/uber/cadence/.gen/go/shared"
Expand Down
2 changes: 1 addition & 1 deletion service/history/transferQueueProcessor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"os"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"

Expand Down
2 changes: 1 addition & 1 deletion service/matching/matchingEngine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ import (
"testing"
"time"

log "github.com/Sirupsen/logrus"
"github.com/davecgh/go-spew/spew"
"github.com/emirpasic/gods/maps/treemap"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
"github.com/uber-common/bark"
Expand Down
2 changes: 1 addition & 1 deletion tools/cassandra/cqlclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"os"
"testing"

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

Expand Down
2 changes: 1 addition & 1 deletion tools/cassandra/setupTask_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"testing"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"io/ioutil"
"os"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion tools/cassandra/updateTask_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ package cassandra

import (
"fmt"
log "github.com/Sirupsen/logrus"
"github.com/gocql/gocql"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
"github.com/uber-common/bark"
Expand Down

0 comments on commit e17dfec

Please sign in to comment.