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