Skip to content

Commit

Permalink
made Enable Debug Atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Jun 13, 2023
1 parent 8e32cc0 commit ac51a3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agent/config/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"net"
"reflect"
"strings"
"sync/atomic"
"time"

"github.com/hashicorp/go-uuid"
Expand Down Expand Up @@ -651,7 +652,7 @@ type RuntimeConfig struct {
// EnableDebug is used to enable various debugging features.
//
// hcl: enable_debug = (true|false)
EnableDebug bool
EnableDebug atomic.Value

// EnableLocalScriptChecks controls whether health checks declared from the local
// config file which execute scripts are enabled. This includes regular script
Expand Down

0 comments on commit ac51a3d

Please sign in to comment.