mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
- Removes the `exp scaletest` command from the slim binary - Updates scaletest-runner template to fetch the full binary from the running Coder instance
19 lines
355 B
Go
19 lines
355 B
Go
//go:build slim
|
|
|
|
package cli
|
|
|
|
import "github.com/coder/coder/v2/cli/clibase"
|
|
|
|
func (r *RootCmd) scaletestCmd() *clibase.Cmd {
|
|
cmd := &clibase.Cmd{
|
|
Use: "scaletest",
|
|
Short: "Run a scale test against the Coder API",
|
|
Handler: func(inv *clibase.Invocation) error {
|
|
SlimUnsupported(inv.Stderr, "exp scaletest")
|
|
return nil
|
|
},
|
|
}
|
|
|
|
return cmd
|
|
}
|