Skip to content

Commit 1831b87

Browse files
committed
fix test
1 parent 3481659 commit 1831b87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

patch/patch_makers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright © 2019 Banzai Cloud
1+
// Copyright © 2022 Banzai Cloud
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

patch/patch_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func Test_unstructuredJsonMergePatch(t *testing.T) {
9292
}
9393
for _, tt := range tests {
9494
t.Run(tt.name, func(t *testing.T) {
95-
got, err := DefaultPatchMaker.unstructuredJsonMergePatch(
95+
got, err := DefaultPatchMaker.(*PatchMaker).unstructuredJsonMergePatch(
9696
mustFromUnstructured(tt.args.original),
9797
mustFromUnstructured(tt.args.modified),
9898
mustFromUnstructured(tt.args.current))

0 commit comments

Comments
 (0)