Skip to content

Commit e89c47a

Browse files
committed
fix: change HTTP method from PUT to PATCH for deployment update
1 parent 9b17189 commit e89c47a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rapyuta_io_sdk_v2/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ def update_deployment(
615615
if isinstance(body, dict):
616616
body = Deployment.model_validate(body)
617617

618-
result = self.c.put(
618+
result = self.c.patch(
619619
url=f"{self.v2api_host}/v2/deployments/{name}/",
620620
headers=self.config.get_headers(**kwargs),
621621
json=body.model_dump(),

0 commit comments

Comments
 (0)