mirror of
https://github.com/mudler/luet.git
synced 2025-09-08 18:49:39 +00:00
cmd/config: simplify code (#246)
This commit is contained in:
@@ -58,7 +58,7 @@ var upgradeCmd = &cobra.Command{
|
||||
downloadOnly, _ := cmd.Flags().GetBool("download-only")
|
||||
|
||||
util.SetSystemConfig()
|
||||
util.SetSolverConfig()
|
||||
opts := util.SetSolverConfig()
|
||||
|
||||
if concurrent {
|
||||
LuetCfg.GetSolverOptions().Implementation = solver.ParallelSimple
|
||||
@@ -66,7 +66,7 @@ var upgradeCmd = &cobra.Command{
|
||||
LuetCfg.GetSolverOptions().Implementation = solver.SingleCoreSimple
|
||||
}
|
||||
|
||||
Debug("Solver", LuetCfg.GetSolverOptions().String())
|
||||
Debug("Solver", opts.CompactString())
|
||||
|
||||
// Load config protect configs
|
||||
installer.LoadConfigProtectConfs(LuetCfg)
|
||||
|
Reference in New Issue
Block a user