Move http timeout to the general configuration

Fixes https://github.com/mudler/luet/issues/250 as now it is documented
in the cli --help too.
This commit is contained in:
Ettore Di Giacinto
2021-10-23 11:41:15 +02:00
parent 57c8236184
commit 315bfb5a54
3 changed files with 7 additions and 13 deletions

View File

@@ -60,6 +60,7 @@ type LuetGeneralConfig struct {
Debug bool `yaml:"debug,omitempty" mapstructure:"debug"`
ShowBuildOutput bool `yaml:"show_build_output,omitempty" mapstructure:"show_build_output"`
FatalWarns bool `yaml:"fatal_warnings,omitempty" mapstructure:"fatal_warnings"`
HTTPTimeout int `yaml:"http_timeout,omitempty" mapstructure:"http_timeout"`
}
type LuetSolverOptions struct {