Skip to content

Commit 4304425

Browse files
committed
fix(cli): remove exp scaletest from slim binary
1 parent 87ebe6c commit 4304425

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

cli/exp_scaletest.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !slim
2+
13
package cli
24

35
import (

cli/exp_scaletest_slim.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//go:build slim
2+
3+
package cli
4+
5+
import "github.com/coder/coder/v2/cli/clibase"
6+
7+
func (r *RootCmd) scaletestCmd() *clibase.Cmd {
8+
cmd := &clibase.Cmd{
9+
Use: "scaletest",
10+
Short: "Run a scale test against the Coder API",
11+
Handler: func(inv *clibase.Invocation) error {
12+
SlimUnsupported(inv.Stderr, "scaletest")
13+
return nil
14+
},
15+
}
16+
17+
return cmd
18+
}

0 commit comments

Comments
 (0)