Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Commit6752124

Browse files
committed
wording: Reword some user messages
1 parent4ade11f commit6752124

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
ifenv.LatestStat.ContainerStatus==coder.EnvironmentOff {
134134
confirm:= promptui.Prompt{
135-
Label:fmt.Sprintf("Environment %q iscurrently not running. Do you wish to rebuildit now? (thiswill takea moment)",env.Name),
135+
Label:fmt.Sprintf("Environment %q is\"OFF\". Rebuildit now? (thiscan takeseveral minutes",env.Name),
136136
IsConfirm:true,
137137
}
138138
returnfunc() (errerror) {
@@ -206,7 +206,7 @@ func checkAndRebuildEnvironment(ctx context.Context, client *coder.Client, env *
206206
caseenv.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
iferr:=trailBuildLogs(ctx,client,env.ID);err!=nil {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp