Skip to content

Commit 4a37a26

Browse files
authored
[rebuild] remove notion of debug workspace from output (#16533)
1 parent 376f6c9 commit 4a37a26

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/gitpod-cli/cmd/rebuild.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ func runRebuild(ctx context.Context, supervisorClient *supervisor.SupervisorClie
174174
runLog.Logger.SetLevel(logrus.TraceLevel)
175175
setLoggerFormatter(runLog.Logger)
176176
runLog.Logger.SetOutput(os.Stdout)
177-
runLog.Info("Starting the debug workspace...")
177+
runLog.Info("Starting the workspace...")
178178

179179
if wsInfo.DebugWorkspaceType != api.DebugWorkspaceType_noDebug {
180-
runLog.Error("It is not possible to restart the debug workspace while you are currently inside it.")
180+
runLog.Error("It is not possible to restart the workspace while you are currently inside it.")
181181
return GpError{Err: err, OutCome: utils.Outcome_UserErr, ErrorCode: utils.RebuildErrorCode_AlreadyInDebug, Silence: true}
182182
}
183183
stopDebugContainer(ctx, dockerPath)
@@ -293,7 +293,7 @@ func runRebuild(ctx context.Context, supervisorClient *supervisor.SupervisorClie
293293

294294
ssh := "ssh 'debug-" + wsInfo.WorkspaceId + "@" + workspaceUrl.Host + ".ssh." + wsInfo.WorkspaceClusterHost + "'"
295295
sep := strings.Repeat("=", len(ssh))
296-
runLog.Infof(`The Debug Workspace is UP!
296+
runLog.Infof(`The workspace is UP!
297297
%s
298298
299299
Open in Browser at:
@@ -303,7 +303,7 @@ Connect using SSH keys (https://gitpod.io/keys):
303303
%s
304304
305305
%s`, sep, workspaceUrl, ssh, sep)
306-
err := notify(ctx, supervisorClient, workspaceUrl.String(), "The Debug Workspace is UP.")
306+
err := notify(ctx, supervisorClient, workspaceUrl.String(), "The workspace is UP.")
307307
if err != nil && ctx.Err() == nil {
308308
log.WithError(err).Error("failed to notify")
309309
}
@@ -375,7 +375,7 @@ Connect using SSH keys (https://gitpod.io/keys):
375375

376376
err = runCmd.Start()
377377
if err != nil {
378-
fmt.Println("Failed to run a debug workspace")
378+
fmt.Println("Failed to run a workspace")
379379
return GpError{Err: err, OutCome: utils.Outcome_UserErr, ErrorCode: utils.RebuildErrorCode_DockerRunFailed, Silence: true}
380380
}
381381

@@ -388,7 +388,7 @@ Connect using SSH keys (https://gitpod.io/keys):
388388
select {
389389
case <-ctx.Done():
390390
fmt.Println("")
391-
logrus.Info("Gracefully stopping the debug workspace...")
391+
logrus.Info("Gracefully stopping the workspace...")
392392
stopDebugContainer(context.Background(), dockerPath)
393393
case <-stopped:
394394
}

0 commit comments

Comments
 (0)