Skip to content
This repository has been archived by the owner on Feb 28, 2019. It is now read-only.

Commit

Permalink
Merge fb2f26d into ee6b714
Browse files Browse the repository at this point in the history
  • Loading branch information
cw9 committed Oct 29, 2018
2 parents ee6b714 + fb2f26d commit 0d8fc23
Show file tree
Hide file tree
Showing 13 changed files with 121 additions and 106 deletions.
153 changes: 85 additions & 68 deletions glide.lock

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

8 changes: 3 additions & 5 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package: github.com/m3db/m3ctl

import:
- package: github.com/m3db/m3cluster
version: 53fc512c11e1ed03db2d65dac4c139a3c2ff2eda
- package: github.com/m3db/m3metrics
version: dcfe68fe112095f688cbaa1b0aa4c4ac65922e84
- package: github.com/m3db/m3
version: 16e2dfb2206a8ead03f733a7032b1bc2b83d4b93
- package: github.com/m3db/m3x
version: a5cc485300c733558a25e1e6c5e9dcf4dbc241c4
version: 943173a151c8a6b2da1f93f814c27c4e4a1e2050
- package: github.com/apache/thrift
version: 9549b25c77587b29be4e0b5c258221a4ed85d37a
- package: github.com/beorn7/perks
Expand Down
2 changes: 1 addition & 1 deletion service/r2/io.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"reflect"
"strings"

"github.com/m3db/m3metrics/rules/view/changes"
"github.com/m3db/m3/src/metrics/rules/view/changes"

validator "gopkg.in/go-playground/validator.v9"
)
Expand Down
2 changes: 1 addition & 1 deletion service/r2/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"fmt"
"net/http"

"github.com/m3db/m3metrics/rules/view"
"github.com/m3db/m3/src/metrics/rules/view"

"github.com/gorilla/mux"
)
Expand Down
6 changes: 3 additions & 3 deletions service/r2/routes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ import (
"testing"
"time"

"github.com/m3db/m3/src/metrics/rules"
"github.com/m3db/m3/src/metrics/rules/view"
"github.com/m3db/m3/src/metrics/rules/view/changes"
"github.com/m3db/m3ctl/auth"
"github.com/m3db/m3ctl/service/r2/store"
"github.com/m3db/m3metrics/rules"
"github.com/m3db/m3metrics/rules/view"
"github.com/m3db/m3metrics/rules/view/changes"
"github.com/m3db/m3x/clock"
"github.com/m3db/m3x/instrument"

Expand Down
2 changes: 1 addition & 1 deletion service/r2/store/kv/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package kv
import (
"time"

"github.com/m3db/m3metrics/rules"
"github.com/m3db/m3/src/metrics/rules"
"github.com/m3db/m3x/clock"
"github.com/m3db/m3x/instrument"
)
Expand Down
8 changes: 4 additions & 4 deletions service/r2/store/kv/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ import (
"errors"
"fmt"

merrors "github.com/m3db/m3/src/metrics/errors"
"github.com/m3db/m3/src/metrics/rules"
"github.com/m3db/m3/src/metrics/rules/view"
"github.com/m3db/m3/src/metrics/rules/view/changes"
"github.com/m3db/m3ctl/service/r2"
r2store "github.com/m3db/m3ctl/service/r2/store"
merrors "github.com/m3db/m3metrics/errors"
"github.com/m3db/m3metrics/rules"
"github.com/m3db/m3metrics/rules/view"
"github.com/m3db/m3metrics/rules/view/changes"
"github.com/m3db/m3x/clock"
xerrors "github.com/m3db/m3x/errors"
)
Expand Down
14 changes: 7 additions & 7 deletions service/r2/store/kv/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ import (
"testing"
"time"

"github.com/m3db/m3/src/metrics/aggregation"
merrors "github.com/m3db/m3/src/metrics/errors"
"github.com/m3db/m3/src/metrics/pipeline"
"github.com/m3db/m3/src/metrics/policy"
"github.com/m3db/m3/src/metrics/rules"
"github.com/m3db/m3/src/metrics/rules/view"
"github.com/m3db/m3/src/metrics/rules/view/changes"
"github.com/m3db/m3ctl/service/r2"
r2store "github.com/m3db/m3ctl/service/r2/store"
"github.com/m3db/m3metrics/aggregation"
merrors "github.com/m3db/m3metrics/errors"
"github.com/m3db/m3metrics/pipeline"
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3metrics/rules"
"github.com/m3db/m3metrics/rules/view"
"github.com/m3db/m3metrics/rules/view/changes"
"github.com/m3db/m3x/clock"

"github.com/golang/mock/gomock"
Expand Down
4 changes: 2 additions & 2 deletions service/r2/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
package store

import (
"github.com/m3db/m3metrics/rules/view"
"github.com/m3db/m3metrics/rules/view/changes"
"github.com/m3db/m3/src/metrics/rules/view"
"github.com/m3db/m3/src/metrics/rules/view/changes"
)

// Store is a construct that can perform operations against a backing rule store.
Expand Down
4 changes: 2 additions & 2 deletions service/r2/store/store_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
package store

import (
"github.com/m3db/m3metrics/rules/view"
"github.com/m3db/m3metrics/rules/view/changes"
"github.com/m3db/m3/src/metrics/rules/view"
"github.com/m3db/m3/src/metrics/rules/view/changes"

"github.com/golang/mock/gomock"
)
Expand Down
12 changes: 6 additions & 6 deletions service/r2/store/stub/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ import (
"fmt"
"time"

"github.com/m3db/m3/src/metrics/aggregation"
"github.com/m3db/m3/src/metrics/pipeline"
"github.com/m3db/m3/src/metrics/policy"
"github.com/m3db/m3/src/metrics/rules/view"
"github.com/m3db/m3/src/metrics/rules/view/changes"
"github.com/m3db/m3/src/metrics/x/bytes"
"github.com/m3db/m3ctl/service/r2"
r2store "github.com/m3db/m3ctl/service/r2/store"
"github.com/m3db/m3metrics/aggregation"
"github.com/m3db/m3metrics/pipeline"
"github.com/m3db/m3metrics/policy"
"github.com/m3db/m3metrics/rules/view"
"github.com/m3db/m3metrics/rules/view/changes"
"github.com/m3db/m3metrics/x/bytes"
"github.com/m3db/m3x/instrument"

"github.com/pborman/uuid"
Expand Down
10 changes: 5 additions & 5 deletions services/r2ctl/config/r2ctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ import (
"errors"
"time"

"github.com/m3db/m3cluster/client/etcd"
clusterkv "github.com/m3db/m3cluster/kv"
"github.com/m3db/m3/src/cluster/client/etcd"
clusterkv "github.com/m3db/m3/src/cluster/kv"
"github.com/m3db/m3/src/metrics/rules"
ruleskv "github.com/m3db/m3/src/metrics/rules/store/kv"
"github.com/m3db/m3/src/metrics/rules/validator"
"github.com/m3db/m3ctl/auth"
r2store "github.com/m3db/m3ctl/service/r2/store"
r2kv "github.com/m3db/m3ctl/service/r2/store/kv"
"github.com/m3db/m3ctl/service/r2/store/stub"
"github.com/m3db/m3metrics/rules"
ruleskv "github.com/m3db/m3metrics/rules/store/kv"
"github.com/m3db/m3metrics/rules/validator"
"github.com/m3db/m3x/instrument"
"github.com/m3db/m3x/log"
)
Expand Down
2 changes: 1 addition & 1 deletion services/r2ctl/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func main() {
}

var cfg config.Configuration
if err := xconfig.LoadFile(&cfg, *configFile); err != nil {
if err := xconfig.LoadFile(&cfg, *configFile, xconfig.Options{}); err != nil {
fmt.Printf("error loading config file: %v\n", err)
os.Exit(1)
}
Expand Down

0 comments on commit 0d8fc23

Please sign in to comment.