mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
System: High Availability: Settings - fail migration when configd has not been started. (https://github.com/opnsense/core/issues/7485)
This commit is contained in:
parent
0f86d8a06c
commit
b767d8b4d5
@ -57,6 +57,8 @@ class MHA1_0_0 extends BaseModelMigration
|
||||
if (!empty((string)$model->pfsyncenabled)) {
|
||||
$model->pfsyncversion = '1301'; // on upgrade keep legacy pfsync version
|
||||
}
|
||||
} else {
|
||||
throw new \Exception('Missing (configd) ha options list');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user