Skip to content

Commit 4ebfd8d

Browse files
committed
Fix patch-example.js content type import
1 parent 88184dc commit 4ebfd8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/patch-example.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ try {
2020

2121
await k8sApi.patchNamespacedPod(
2222
{ name: res?.items?.[0]?.metadata?.name ?? '', namespace, body: patch },
23-
k8s.setHeaderOptions('Content-Type', k8s.JsonPatch),
23+
k8s.setHeaderOptions('Content-Type', k8s.PatchStrategy.JsonPatch),
2424
);
2525

2626
console.log('Patched.');

0 commit comments

Comments
 (0)