Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c8ea1f9

Browse files
committed
fix merge
1 parent 7c76350 commit c8ea1f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/start.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ func start() *cobra.Command {
5353
tlsKeyFile string
5454
tlsMinVersion string
5555
useTunnel bool
56-
traceDD bool
56+
traceDatadog bool
5757
)
5858
root := &cobra.Command{
5959
Use: "start",
6060
RunE: func(cmd *cobra.Command, args []string) error {
61-
if traceDD {
61+
if traceDatadog {
6262
tracer.Start()
6363
defer tracer.Stop()
6464
}
@@ -329,7 +329,7 @@ func start() *cobra.Command {
329329
`Specifies the minimum supported version of TLS. Accepted values are "tls10", "tls11", "tls12" or "tls13"`)
330330
cliflag.BoolVarP(root.Flags(), &useTunnel, "tunnel", "", "CODER_DEV_TUNNEL", false, "Serve dev mode through a Cloudflare Tunnel for easy setup")
331331
_ = root.Flags().MarkHidden("tunnel")
332-
cliflag.BoolVarP(root.Flags(), &traceDD, "trace-datadog", "", "CODER_TRACE_DATADOG", false, "Send tracing data to a datadog agent")
332+
cliflag.BoolVarP(root.Flags(), &traceDatadog, "trace-datadog", "", "CODER_TRACE_DATADOG", false, "Send tracing data to a datadog agent")
333333

334334
return root
335335
}

0 commit comments

Comments
 (0)