Skip to content

Commit 3759f87

Browse files
sagor999kylos101
authored andcommitted
Update components/server/src/workspace/workspace-starter.ts
Co-authored-by: Kyle Brennan <[email protected]>
1 parent e67124f commit 3759f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/server/src/workspace/workspace-starter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ export class WorkspaceStarter {
14241424
}
14251425

14261426
const volumeSnapshotId =
1427-
((SnapshotContext.is(workspace.context) || WithPrebuild.is(workspace.context)) && workspace.context.snapshotBucketId !== undefined && workspace.context.snapshotBucketId != "")
1427+
((SnapshotContext.is(workspace.context) || WithPrebuild.is(workspace.context)) && !!workspace.context.snapshotBucketId)
14281428
? workspace.context.snapshotBucketId
14291429
: lastValidWorkspaceInstanceId;
14301430

0 commit comments

Comments
 (0)