fix(cli): generate correctly named file in DumpHandler (#12409)

This commit is contained in:
Mathias Fredriksson
2024-03-04 18:35:33 +02:00
committed by GitHub
parent afcea74462
commit 4ce1448bbe
4 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
cliui.Warnf(inv.Stderr, "YAML support is experimental and offers no compatibility guarantees.")
}
go DumpHandler(ctx)
go DumpHandler(ctx, "coderd")
// Validate bind addresses.
if vals.Address.String() != "" {