Skip to content

Commit

Permalink
Updating to the latest rpcreflect repo
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRichardson committed Aug 7, 2019
1 parent 90307f6 commit 6611b89
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 25 deletions.
21 changes: 10 additions & 11 deletions Gopkg.lock

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

5 changes: 2 additions & 3 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,9 @@
revision = "4d05e43ad98c1edcf2f52291685bd9bbc12fd2cd"

[[constraint]]
revision = "1cefd32714820322a3b1f1f19157b69e51038fde"
revision = "8a53421608bbf30e65082e0210d89c2dc34d52c2"
name = "github.com/juju/jsonschema-gen"
source = "github.com/SimonRichardson/jsonschema-gen"

[[constraint]]
revision = "cca922e065df403dc5088294f7f546e838d13708"
name = "github.com/SimonRichardson/rpcreflect"
name = "github.com/juju/rpcreflect"
2 changes: 1 addition & 1 deletion apiserver/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (

"github.com/juju/clock"
"github.com/juju/errors"
"github.com/juju/rpcreflect"
"gopkg.in/juju/names.v2"

"github.com/SimonRichardson/rpcreflect"
"github.com/juju/juju/api"
"github.com/juju/juju/apiserver/common"
"github.com/juju/juju/apiserver/facade"
Expand Down
3 changes: 2 additions & 1 deletion apiserver/restricted_root.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
package apiserver

import (
"github.com/SimonRichardson/rpcreflect"
"github.com/juju/rpcreflect"

"github.com/juju/juju/rpc"
)

Expand Down
2 changes: 1 addition & 1 deletion apiserver/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"time"

"github.com/juju/errors"
"github.com/juju/rpcreflect"
"gopkg.in/juju/names.v2"

"github.com/SimonRichardson/rpcreflect"
"github.com/juju/juju/apiserver/common"
"github.com/juju/juju/apiserver/facade"
"github.com/juju/juju/apiserver/params"
Expand Down
2 changes: 1 addition & 1 deletion apiserver/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"time"

"github.com/juju/clock/testclock"
"github.com/juju/rpcreflect"
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"
"gopkg.in/juju/names.v2"

"github.com/SimonRichardson/rpcreflect"
"github.com/juju/juju/apiserver"
"github.com/juju/juju/apiserver/facade"
"github.com/juju/juju/state"
Expand Down
2 changes: 1 addition & 1 deletion apiserver/testing/fakeapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (

"github.com/bmizerany/pat"
"github.com/gorilla/websocket"
"github.com/juju/rpcreflect"
"github.com/juju/utils"

"github.com/SimonRichardson/rpcreflect"
"github.com/juju/juju/apiserver/observer"
"github.com/juju/juju/apiserver/observer/fakeobserver"
"github.com/juju/juju/rpc"
Expand Down
2 changes: 1 addition & 1 deletion generate/schemagen/gen/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/juju/errors"
jsonschema "github.com/juju/jsonschema-gen"
"github.com/juju/rpcreflect"

"github.com/SimonRichardson/rpcreflect"
"github.com/juju/juju/apiserver/facade"
)

Expand Down
2 changes: 1 addition & 1 deletion generate/schemagen/gen/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (

gomock "github.com/golang/mock/gomock"
jsonschema "github.com/juju/jsonschema-gen"
"github.com/juju/rpcreflect"
"github.com/juju/testing"
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"

"github.com/SimonRichardson/rpcreflect"
"github.com/juju/juju/apiserver/facade"
)

Expand Down
2 changes: 1 addition & 1 deletion rpc/reflect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"context"
"reflect"

"github.com/juju/rpcreflect"
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"

"github.com/SimonRichardson/rpcreflect"
"github.com/juju/juju/testing"
)

Expand Down
2 changes: 1 addition & 1 deletion rpc/rpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import (

"github.com/juju/errors"
"github.com/juju/loggo"
"github.com/juju/rpcreflect"
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"

"github.com/SimonRichardson/rpcreflect"
"github.com/juju/juju/apiserver/params"
"github.com/juju/juju/rpc"
"github.com/juju/juju/rpc/jsoncodec"
Expand Down
3 changes: 1 addition & 2 deletions rpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import (

"github.com/juju/errors"
"github.com/juju/loggo"

"github.com/SimonRichardson/rpcreflect"
"github.com/juju/rpcreflect"
)

const codeNotImplemented = "not implemented"
Expand Down

0 comments on commit 6611b89

Please sign in to comment.