Skip to content

Commit 5abab03

Browse files
sagor999roboquat
authored andcommitted
[ws-manager] fix crash when restoring from volume snapshot
1 parent 4e419b9 commit 5abab03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ws-manager/pkg/manager/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func (m *Manager) StartWorkspace(ctx context.Context, req *api.StartWorkspaceReq
244244
return nil, err
245245
}
246246
}
247-
pvc, err := m.createPVCForWorkspacePod(startContext)
247+
pvc, err = m.createPVCForWorkspacePod(startContext)
248248
if err != nil {
249249
return nil, xerrors.Errorf("cannot create pvc for workspace pod: %w", err)
250250
}

0 commit comments

Comments
 (0)