Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sagor999 committed Jun 20, 2022
1 parent fce260c commit 9180f89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/ws-manager/pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ func (m *Manager) StartWorkspace(ctx context.Context, req *api.StartWorkspaceReq

// we only calculate the time that PVC restoring from VolumeSnapshot
if createPVC && startContext.VolumeSnapshot != nil && startContext.VolumeSnapshot.VolumeSnapshotName != "" {
log.Infof("test: %v, %v", m, pvc)
err = wait.PollWithContext(ctx, 100*time.Millisecond, time.Minute, pvcRunning(m.Clientset, pvc.Name, pvc.Namespace))
if err != nil {
return false, nil
Expand Down

0 comments on commit 9180f89

Please sign in to comment.