Skip to content

Commit 068b594

Browse files
committed
change log message
1 parent f4afd17 commit 068b594

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cli/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
396396
if err := os.MkdirAll(r.globalConfig, 0o700); err != nil {
397397
return xerrors.Errorf("create ephemeral deployment directory: %w", err)
398398
}
399-
cliui.Infof(inv.Stdout, "Using an ephemeral deployment (%s)", r.globalConfig)
399+
cliui.Infof(inv.Stdout, "Using an ephemeral deployment directory (%s)", r.globalConfig)
400400
defer func() {
401401
cliui.Infof(inv.Stdout, "Removing ephemeral deployment directory...")
402402
if err := os.RemoveAll(r.globalConfig); err != nil {

cli/server_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ func TestServer(t *testing.T) {
198198
go func() {
199199
errCh <- inv.WithContext(ctx).Run()
200200
}()
201-
pty.ExpectMatch("Using an ephemeral deployment")
201+
pty.ExpectMatch("Using an ephemeral deployment directory")
202202
rootDirLine := pty.ReadLine(ctx)
203-
rootDir := strings.TrimPrefix(rootDirLine, "Using an ephemeral deployment")
203+
rootDir := strings.TrimPrefix(rootDirLine, "Using an ephemeral deployment directory")
204204
rootDir = strings.TrimSpace(rootDir)
205205
rootDir = strings.TrimPrefix(rootDir, "(")
206206
rootDir = strings.TrimSuffix(rootDir, ")")

0 commit comments

Comments
 (0)