chore: stop shadowing import names with variables
This commit is contained in:
parent
bff817ccd9
commit
4dc82515f4
8 changed files with 52 additions and 57 deletions
|
|
@ -23,9 +23,9 @@ pub fn cmd() cli.Command {
|
|||
description: 'Start an agent daemon.'
|
||||
execute: fn (cmd cli.Command) ! {
|
||||
config_file := cmd.flags.get_string('config-file')!
|
||||
conf := vconf.load[Config](prefix: 'VIETER_', default_path: config_file)!
|
||||
conf_ := vconf.load[Config](prefix: 'VIETER_', default_path: config_file)!
|
||||
|
||||
agent(conf)!
|
||||
agent(conf_)!
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue