Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

Commit

Permalink
[glide] Update m3x and m3cluster dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Froelich committed Sep 14, 2017
1 parent b2891d3 commit d9cc6ff
Show file tree
Hide file tree
Showing 25 changed files with 40 additions and 38 deletions.
16 changes: 9 additions & 7 deletions glide.lock

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

4 changes: 2 additions & 2 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package: github.com/m3db/m3metrics
import:
- package: github.com/m3db/m3x
version: bd6be18ffb184691512eb442561b16a59c15d797
version: 6e9713eca6718643e105f574be392f122bcc062e
subpackages:
- pool
- time
- package: github.com/m3db/m3cluster
version: b596a86b06f37c9150ea352d6ec1549ed19f304b
version: 3ca6883175651960ca2f93ba91198bbb9a84f5be
subpackages:
- kv
- kv/mem
Expand Down
2 changes: 1 addition & 1 deletion matcher/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/m3db/m3metrics/matcher"
"github.com/m3db/m3metrics/rules"
"github.com/m3db/m3x/clock"
"github.com/m3db/m3x/id"
xid "github.com/m3db/m3x/id"

"github.com/uber-go/tally"
)
Expand Down
2 changes: 1 addition & 1 deletion matcher/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"github.com/m3db/m3metrics/matcher"
"github.com/m3db/m3metrics/rules"
"github.com/m3db/m3x/clock"
"github.com/m3db/m3x/id"
xid "github.com/m3db/m3x/id"

"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion matcher/cache/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"time"

"github.com/m3db/m3metrics/rules"
"github.com/m3db/m3x/id"
xid "github.com/m3db/m3x/id"
)

// element is a list element
Expand Down
2 changes: 1 addition & 1 deletion matcher/cache/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3metrics/rules"
xid "github.com/m3db/m3x/id"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
)
Expand Down
14 changes: 7 additions & 7 deletions matcher/namespaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/m3db/m3metrics/generated/proto/schema"
"github.com/m3db/m3metrics/rules"
"github.com/m3db/m3x/clock"
"github.com/m3db/m3x/id"
xid "github.com/m3db/m3x/id"
"github.com/m3db/m3x/log"

"github.com/uber-go/tally"
Expand Down Expand Up @@ -91,7 +91,7 @@ type namespaces struct {
store kv.Store
opts Options
nowFn clock.NowFn
log xlog.Logger
log log.Logger
ruleSetKeyFn RuleSetKeyFn
matchRangePast time.Duration
onNamespaceAddedFn OnNamespaceAddedFn
Expand Down Expand Up @@ -146,8 +146,8 @@ func (n *namespaces) Open() error {
// from starting up.
n.metrics.initWatchErrors.Inc(1)
n.opts.InstrumentOptions().Logger().WithFields(
xlog.NewLogField("key", n.key),
xlog.NewLogErrField(err),
log.NewField("key", n.key),
log.NewErrField(err),
).Error("error initializing namespaces values, retrying in the background")
return nil
}
Expand Down Expand Up @@ -237,7 +237,7 @@ func (n *namespaces) process(value interface{}) error {
// This should never happen but just to be on the defensive side.
if len(snapshots) == 0 {
n.log.WithFields(
xlog.NewLogField("version", version),
log.NewField("version", version),
).Warn("namespace updates have no snapshots")
} else {
latestSnapshot := snapshots[len(snapshots)-1]
Expand All @@ -256,8 +256,8 @@ func (n *namespaces) process(value interface{}) error {
if err := ruleSet.Watch(); err != nil {
n.metrics.watchErrors.Inc(1)
n.log.WithFields(
xlog.NewLogField("ruleSetKey", ruleSet.Key()),
xlog.NewLogErrField(err),
log.NewField("ruleSetKey", ruleSet.Key()),
log.NewErrField(err),
).Error("failed to watch ruleset updates")
}
}
Expand Down
2 changes: 1 addition & 1 deletion matcher/namespaces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"github.com/m3db/m3cluster/kv/mem"
"github.com/m3db/m3metrics/generated/proto/schema"
"github.com/m3db/m3metrics/rules"
"github.com/m3db/m3x/id"
xid "github.com/m3db/m3x/id"

"github.com/golang/protobuf/proto"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion policy/policy_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"testing"
"time"

"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion policy/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"time"

"github.com/m3db/m3metrics/generated/proto/schema"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
yaml "gopkg.in/yaml.v2"
Expand Down
2 changes: 1 addition & 1 deletion policy/resolution.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strings"
"time"

"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"
)

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

"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion policy/staged_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"testing"
"time"

"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"
"github.com/stretchr/testify/require"
)

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

"github.com/m3db/m3metrics/generated/proto/schema"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion policy/storage_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"time"

"github.com/m3db/m3metrics/generated/proto/schema"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
yaml "gopkg.in/yaml.v2"
Expand Down
2 changes: 1 addition & 1 deletion protocol/msgpack/aggregated_roundtrip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/m3db/m3metrics/metric/aggregated"
"github.com/m3db/m3metrics/metric/id"
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion protocol/msgpack/base_iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (

"github.com/m3db/m3metrics/metric/id"
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

msgpack "gopkg.in/vmihailenco/msgpack.v2"
)
Expand Down
2 changes: 1 addition & 1 deletion protocol/msgpack/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion protocol/msgpack/unaggregated_encoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

"github.com/m3db/m3metrics/metric/unaggregated"
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion protocol/msgpack/unaggregated_iterator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"github.com/m3db/m3metrics/metric/id"
"github.com/m3db/m3metrics/metric/unaggregated"
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion protocol/msgpack/unaggregated_roundtrip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

"github.com/m3db/m3metrics/metric/unaggregated"
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion rules/mapping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

"github.com/m3db/m3metrics/generated/proto/schema"
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion rules/result_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"time"

"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion rules/rollup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

"github.com/m3db/m3metrics/generated/proto/schema"
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion rules/ruleset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/m3db/m3metrics/generated/proto/schema"
"github.com/m3db/m3metrics/metric/id"
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3x/time"
xtime "github.com/m3db/m3x/time"

"github.com/stretchr/testify/require"
yaml "gopkg.in/yaml.v2"
Expand Down

0 comments on commit d9cc6ff

Please sign in to comment.