We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7445d9b commit 203812cCopy full SHA for 203812c
apps/webapp/app/v3/services/finalizeDeploymentV2.ts
@@ -48,6 +48,12 @@ export class FinalizeDeploymentV2Service extends BaseService {
48
throw new ServiceValidationError("Worker deployment does not have a worker");
49
}
50
51
+ if (deployment.status === "DEPLOYED") {
52
+ logger.debug("Worker deployment is already deployed", { id });
53
+
54
+ return deployment;
55
+ }
56
57
if (deployment.status !== "DEPLOYING") {
58
logger.error("Worker deployment is not in DEPLOYING status", { id });
59
throw new ServiceValidationError("Worker deployment is not in DEPLOYING status");
0 commit comments