Skip to content

Commit

Permalink
🐛 switch to use appscode/jsonpatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengqi Yu committed Jan 9, 2019
1 parent 6d99d78 commit 8de5508
Show file tree
Hide file tree
Showing 13 changed files with 195 additions and 81 deletions.
18 changes: 9 additions & 9 deletions Gopkg.lock

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

2 changes: 1 addition & 1 deletion pkg/patch/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"reflect"

"github.com/mattbaird/jsonpatch"
"github.com/appscode/jsonpatch"

"k8s.io/apimachinery/pkg/runtime"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/webhook/admission/response_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"errors"
"net/http"

"github.com/mattbaird/jsonpatch"
"github.com/appscode/jsonpatch"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

Expand Down
2 changes: 1 addition & 1 deletion pkg/webhook/admission/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
package types

import (
"github.com/mattbaird/jsonpatch"
"github.com/appscode/jsonpatch"

admissionv1beta1 "k8s.io/api/admission/v1beta1"
"k8s.io/apimachinery/pkg/runtime"
Expand Down
2 changes: 1 addition & 1 deletion pkg/webhook/admission/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strings"
"sync"

"github.com/mattbaird/jsonpatch"
"github.com/appscode/jsonpatch"

admissionv1beta1 "k8s.io/api/admission/v1beta1"
admissionregistrationv1beta1 "k8s.io/api/admissionregistration/v1beta1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/webhook/admission/webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"net/http"
"net/http/httptest"

"github.com/mattbaird/jsonpatch"
"github.com/appscode/jsonpatch"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

Expand Down

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

10 changes: 10 additions & 0 deletions vendor/github.com/appscode/jsonpatch/.travis.yml

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

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

8 changes: 8 additions & 0 deletions vendor/github.com/appscode/jsonpatch/go.mod

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

8 changes: 8 additions & 0 deletions vendor/github.com/appscode/jsonpatch/go.sum

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

Loading

0 comments on commit 8de5508

Please sign in to comment.