Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ public SandboxAcquireResult acquire(
"[sandbox] Priority 3: resuming from persisted state (scope={})",
scopeKey.get());
SandboxState state = client.deserializeState(stateJson.get());
// Overwrite stale WorkspaceSpec with current application config
if (sandboxContext.getWorkspaceSpec() != null) {
state.setWorkspaceSpec(sandboxContext.getWorkspaceSpec().copy());
}
Sandbox sandbox = client.resume(state);
return SandboxAcquireResult.selfManaged(sandbox, lease);
}
Expand Down
Loading