Skip to content

Commit

Permalink
fix pvc crash
Browse files Browse the repository at this point in the history
  • Loading branch information
sagor999 committed Jun 20, 2022
1 parent 9180f89 commit a15f60d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/ws-manager/pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ 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 a15f60d

Please sign in to comment.