Update on the Review Comments
1. Resolved review comments. 2. Resolved Go linting issues. 3. Increase coverage from 93 to 96 percentage for module.
This commit is contained in:
@@ -25,10 +25,10 @@ type Config struct {
|
||||
Log log.Config `yaml:"log"`
|
||||
PluginManager *plugin.ManagerConfig `yaml:"pluginManager"`
|
||||
Modules []module.Config `yaml:"modules"`
|
||||
HTTP httpConfig `yaml:"http"` // Nest http config
|
||||
HTTP timeouts `yaml:"http"` // Nest http config
|
||||
}
|
||||
|
||||
type httpConfig struct {
|
||||
type timeouts struct {
|
||||
Port string `yaml:"port"`
|
||||
Timeout timeoutConfig `yaml:"timeout"`
|
||||
}
|
||||
@@ -44,7 +44,7 @@ var runFunc = run
|
||||
|
||||
func main() {
|
||||
// Define and parse command-line flags.
|
||||
flag.StringVar(&configPath, "config", "../../config/clientSideHandler-config.yaml", "Path to the configuration file")
|
||||
flag.StringVar(&configPath, "config", "../../config/onix/adapter.yaml", "Path to the configuration file")
|
||||
flag.Parse()
|
||||
|
||||
// Use custom log for initial setup messages.
|
||||
|
||||
Reference in New Issue
Block a user