Support application/apply-patch+cbor in patch requests.

Kubernetes-commit: 37ed906a33211c7d578cab2d681941ebfd2f2f23
This commit is contained in:
Ben Luddy
2024-10-22 16:08:24 -04:00
committed by Kubernetes Publisher
parent d7104c6737
commit cff56219d9
6 changed files with 75 additions and 34 deletions

View File

@@ -207,7 +207,7 @@ func TestGoldenRequest(t *testing.T) {
if err != nil {
t.Fatalf("failed to load fixture: %v", err)
}
if diff := cmp.Diff(got, want); diff != "" {
if diff := cmp.Diff(want, got); diff != "" {
t.Errorf("unexpected difference from expected bytes:\n%s", diff)
}
}))