Skip to content

Commit

Permalink
Merge pull request #622 from luraproject/debug_cfg_param
Browse files Browse the repository at this point in the history
debug cfg param renamed
  • Loading branch information
kpacha authored Nov 8, 2022
2 parents a82f055 + 7a6f51e commit 0c28aad
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 0c28aad

Please sign in to comment.