Skip to content

Commit 43344be

Browse files
committed
fix: profile flag
1 parent 20e9c93 commit 43344be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/cmd.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424
"go-micro.dev/v5/debug/profile/pprof"
2525
"go-micro.dev/v5/debug/trace"
2626
"go-micro.dev/v5/logger"
27+
mprofile "go-micro.dev/v5/profile"
2728
"go-micro.dev/v5/registry"
2829
"go-micro.dev/v5/registry/consul"
2930
"go-micro.dev/v5/registry/etcd"
@@ -33,7 +34,6 @@ import (
3334
"go-micro.dev/v5/store"
3435
"go-micro.dev/v5/store/mysql"
3536
"go-micro.dev/v5/transport"
36-
mprofile "go-micro.dev/v5/profile"
3737
)
3838

3939
type Cmd interface {
@@ -143,8 +143,8 @@ var (
143143
},
144144
&cli.StringFlag{
145145
Name: "profile",
146-
Usage: "Debug profiler for cpu and memory stats",
147-
EnvVars: []string{"MICRO_DEBUG_PROFILE"},
146+
Usage: "Plugin profile to use. (local, nats, etc)",
147+
EnvVars: []string{"MICRO_PROFILE"},
148148
},
149149
&cli.StringFlag{
150150
Name: "registry",

0 commit comments

Comments
 (0)