mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-05 15:03:39 +01:00
Fix: field parsing fails with docker labels (#3101)
This commit is contained in:
parent
c89c4884b6
commit
54db9ac551
@ -453,7 +453,7 @@ export function cleanServiceGroups(groups) {
|
||||
let fieldsList = fields;
|
||||
if (typeof fields === "string") {
|
||||
try {
|
||||
JSON.parse(fields);
|
||||
fieldsList = JSON.parse(fields);
|
||||
} catch (e) {
|
||||
logger.error("Invalid fields list detected in config for service '%s'", service.name);
|
||||
fieldsList = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user