Skip to content

Commit

Permalink
debug cfg param renamed
Browse files Browse the repository at this point in the history
Signed-off-by: kpacha <[email protected]>
  • Loading branch information
kpacha committed Nov 8, 2022
1 parent 8a6d6a6 commit 7a6f51e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0

/*
Package config defines the config structs and some config parser interfaces and implementations
Package config defines the config structs and some config parser interfaces and implementations
*/
package config

Expand Down Expand Up @@ -158,7 +158,7 @@ type ServiceConfig struct {
TLS *TLS `mapstructure:"tls"`

// run lura in debug mode
Debug bool
Debug bool `mapstructure:"debug_endpoint"`
uriParser URIParser

// SequentialStart flags if the agents should be started sequentially
Expand Down
6 changes: 3 additions & 3 deletions config/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ type parseableServiceConfig struct {
DialerTimeout string `json:"dialer_timeout"`
DialerFallbackDelay string `json:"dialer_fallback_delay"`
DialerKeepAlive string `json:"dialer_keep_alive"`
Debug bool
Plugin *Plugin `json:"plugin,omitempty"`
TLS *parseableTLS `json:"tls,omitempty"`
Debug bool `json:"debug_endpoint"`
Plugin *Plugin `json:"plugin,omitempty"`
TLS *parseableTLS `json:"tls,omitempty"`
}

func (p *parseableServiceConfig) normalize() ServiceConfig {
Expand Down

0 comments on commit 7a6f51e

Please sign in to comment.