Add tests and godebug to compare structs
This commit is contained in:
parent
dbd368adf2
commit
64a5e43394
10 changed files with 865 additions and 9 deletions
|
|
@ -37,10 +37,6 @@ const (
|
|||
|
||||
// ReadConfig obtains the configuration defined by the user merged with the defaults.
|
||||
func ReadConfig(conf *api.ConfigMap) config.Configuration {
|
||||
if len(conf.Data) == 0 {
|
||||
return config.NewDefault()
|
||||
}
|
||||
|
||||
errors := make([]int, 0)
|
||||
skipUrls := make([]string, 0)
|
||||
whitelist := make([]string, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue