Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .licenses-gomod.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
100644 c73f2c61e23f551b04db496892f2d197c1325d38 go.mod
100644 00dda197f010caa332e89410c3ffee1369343795 go.mod
2 changes: 0 additions & 2 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ mockname: "{{.InterfaceName}}Mock"
all: true
packages:
github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/translation/ipaccesslist:
github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/translation/dbuser:
github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/translation/deployment:
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ require (
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.6.0
github.com/mongodb-forks/digest v1.1.0
github.com/nsf/jsondiff v0.0.0-20230430225905-43f6cf3098c1
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
github.com/sethvargo/go-password v0.3.1
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ github.com/montanaflynn/stats v0.7.1 h1:etflOAAHORrCC44V+aR6Ftzort912ZU+YLiSTuV8
github.com/montanaflynn/stats v0.7.1/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/nsf/jsondiff v0.0.0-20230430225905-43f6cf3098c1 h1:dOYG7LS/WK00RWZc8XGgcUTlTxpp3mKhdR2Q9z9HbXM=
github.com/nsf/jsondiff v0.0.0-20230430225905-43f6cf3098c1/go.mod h1:mpRZBD8SJ55OIICQ3iWH0Yz3cjzA61JdqMLoWXeB2+8=
github.com/onsi/ginkgo/v2 v2.19.0 h1:9Cnnf7UHo57Hy3k6/m5k3dRfGTMXGvxhHFvkDTCTpvA=
github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To=
github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk=
Expand Down
2 changes: 1 addition & 1 deletion internal/cmp/normalize.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func NormalizeSlice[S ~[]E, E any](slice S, cmp func(a, b E) int) S {
if len(slice) == 0 {
return nil
}
slices.SortStableFunc(slice, cmp)
slices.SortFunc(slice, cmp)
return slice
}

Expand Down
12 changes: 0 additions & 12 deletions internal/cmp/sort.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,3 @@ func marshalJSON[T any](obj T) (string, error) {
}
return string(jObj), nil
}

func JSON[T any](obj T) []byte {
jObj, err := json.MarshalIndent(obj, " ", " ")
if err != nil {
return ([]byte)(err.Error())
}
return jObj
}

func JSONize[T any](obj T) string {
return string(JSON(obj))
}
272 changes: 0 additions & 272 deletions internal/mocks/translation/atlas_deployments_service.go

This file was deleted.

Loading