Skip to content

Commit 54a4ddf

Browse files
committed
fix: update restart field in DeploymentSpec to allow None values
1 parent 59df1d3 commit 54a4ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rapyuta_io_sdk_v2/models/deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class DeploymentSpec(BaseModel):
160160
runtime: Runtime
161161
depends: list[Depends] | None = None
162162
device: DeploymentDevice | None = None
163-
restart: RestartPolicy = Field(default="always")
163+
restart: RestartPolicy | None = None
164164
envArgs: list[EnvArgsSpec] | None = None
165165
volumes: list[DeploymentVolume] | None = None
166166
rosNetworks: list[DeploymentROSNetwork] | None = None

0 commit comments

Comments
 (0)