mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: remove middleware to request version and entitlement warnings (#12750)
This cleans up `root.go` a bit, adds tests for middleware HTTP transport functions, and removes two HTTP requests we always always performed previously when executing *any* client command. It should improve CLI performance (especially for users with higher latency).
This commit is contained in:
@@ -8,5 +8,5 @@ import (
|
||||
|
||||
func main() {
|
||||
var rootCmd entcli.RootCmd
|
||||
rootCmd.RunMain(rootCmd.EnterpriseSubcommands())
|
||||
rootCmd.RunWithSubcommands(rootCmd.EnterpriseSubcommands())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user