Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 6752124

Browse files
committed
wording: Reword some user messages
1 parent 4ade11f commit 6752124

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/cmd/shell.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func rebuildPrompt(env *coder.Environment) (prompt func() error) {
132132
// Option 1: If the environment is off, the rebuild is needed
133133
if env.LatestStat.ContainerStatus == coder.EnvironmentOff {
134134
confirm := promptui.Prompt{
135-
Label: fmt.Sprintf("Environment %q is currently not running. Do you wish to rebuild it now? (this will take a moment)", env.Name),
135+
Label: fmt.Sprintf("Environment %q is \"OFF\". Rebuild it now? (this can take several minutes", env.Name),
136136
IsConfirm: true,
137137
}
138138
return func() (err error) {
@@ -206,7 +206,7 @@ func checkAndRebuildEnvironment(ctx context.Context, client *coder.Client, env *
206206
case env.LatestStat.ContainerStatus == coder.EnvironmentCreating:
207207
// Environment is in the process of being created, just trail the logs
208208
// and wait until it is done
209-
clog.LogInfo(fmt.Sprintf("Environment %q is in the process of being built.", env.Name))
209+
clog.LogInfo(fmt.Sprintf("Rebuilding %q", env.Name))
210210

211211
// Watch the rebuild.
212212
if err := trailBuildLogs(ctx, client, env.ID); err != nil {

0 commit comments

Comments
 (0)