mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 23:32:02 +00:00
more error format fixes
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ func LoadConfig(path string) (*Config, error) {
|
||||
if optionsMap, ok := value.(map[interface{}]interface{}); ok {
|
||||
cfg.Ctrl.Options = channel2.LoadOptions(optionsMap)
|
||||
if err := cfg.Ctrl.Options.Validate(); err != nil {
|
||||
return nil, fmt.Errorf("error loading channel options for [ctrl/options]: %w", err)
|
||||
return nil, fmt.Errorf("error loading channel options for [ctrl/options] (%v)", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user