fix: coerce-stopgraceperiodswarm-to-number

This commit is contained in:
Lucas Manchine
2025-09-24 09:54:54 -03:00
parent 2141e4b174
commit 59be1c5941
2 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -192,7 +192,8 @@ export const mechanizeDockerContainer = async (
})),
},
UpdateConfig,
...(StopGracePeriod && { StopGracePeriod }),
...(StopGracePeriod !== undefined &&
StopGracePeriod !== null && { StopGracePeriod }),
};
try {