Skip to content

Commit f79d0b5

Browse files
committed
fix: K8s api url plural
1 parent 7a86d4c commit f79d0b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function main() {
3333
});
3434

3535
await http.patchJson(
36-
`${rancherUrl}/k8s/clusters/${clusterId}/apis/apps/v1/namespaces/${namespace}/${kind}/${workload}`,
36+
`${rancherUrl}/k8s/clusters/${clusterId}/apis/apps/v1/namespaces/${namespace}/${kind}s/${workload}`,
3737
[
3838
{
3939
op: 'replace',

0 commit comments

Comments
 (0)