Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions cmd/pro/workspace/sleep.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ func (cmd *SleepCmd) sleep(
return err
}

// wait for sleeping
log.Info("Wait until workspace is sleeping")
// wait for the workspace to sleep
log.Info("wait until workspace is sleeping")
err = waitForWorkspacePhase(ctx, waitForWorkspacePhaseParams{
managementClient: managementClient,
projectName: cmd.Project,
Expand Down
6 changes: 3 additions & 3 deletions cmd/pro/workspace/wakeup.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (cmd *WakeupCmd) wakeup(
workspaceInstance *managementv1.DevsyWorkspaceInstance,
) error {
if workspaceInstance.Status.Phase != storagev1.InstanceSleeping {
log.Infof("Workspace %s is not sleeping", workspaceInstance.Name)
log.Infof("workspace %s is not sleeping", workspaceInstance.Name)
return nil
}

Expand All @@ -101,8 +101,8 @@ func (cmd *WakeupCmd) wakeup(
return err
}

// wait for sleeping
log.Info("Wait until workspace wakes up")
// wait for the workspace to wake up
log.Info("wait until workspace wakes up")
err = waitForWorkspacePhase(ctx, waitForWorkspacePhaseParams{
managementClient: managementClient,
projectName: cmd.Project,
Expand Down
Loading