[task-153] [fix]
This commit is contained in:
parent
3fa5d0820b
commit
ab3bfad376
|
@ -494,9 +494,12 @@ namespace _munin.conf
|
||||||
path : string
|
path : string
|
||||||
) : Promise<type_conf>
|
) : Promise<type_conf>
|
||||||
{
|
{
|
||||||
const conf_raw : {version : string; content : any} = await lib_plankton.conf.load(
|
const conf_raw : {version : string; content : any} = await lib_plankton.conf.load_versioned(
|
||||||
schema(),
|
path,
|
||||||
path
|
schema,
|
||||||
|
{
|
||||||
|
"v6": null,
|
||||||
|
}
|
||||||
);
|
);
|
||||||
if (conf_raw.version !== current_version)
|
if (conf_raw.version !== current_version)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue