We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentb3ae8d5 commita018930Copy full SHA for a018930
cli/server.go
@@ -393,10 +393,10 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
393
394
ifvals.EphemeralDeployment.Value() {
395
r.globalConfig=filepath.Join(os.TempDir(),fmt.Sprintf("coder_ephemeral_%d",time.Now().UnixMilli()))
396
-cliui.Infof(inv.Stdout,"Using an ephemeral deployment (%s)",r.globalConfig)
397
iferr:=os.MkdirAll(r.globalConfig,0o700);err!=nil {
398
returnxerrors.Errorf("create ephemeral deployment directory: %w",err)
399
}
+cliui.Infof(inv.Stdout,"Using an ephemeral deployment (%s)",r.globalConfig)
400
deferfunc() {
401
cliui.Infof(inv.Stdout,"Removing ephemeral deployment directory...")
402
iferr:=os.RemoveAll(r.globalConfig);err!=nil {