Skip to content

Commit

Permalink
adjusted output for objectstore
Browse files Browse the repository at this point in the history
  • Loading branch information
StiftungAusNachlass committed Sep 24, 2024
1 parent c5a10b6 commit 6b5d33d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/server/extension/monitoring-endpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,13 @@ process.stdin.on('end', () => {

//////////////////////////////////////////////////////////////
// objectstore
let objectstore = '-';
if (configinfo?.config?.system?.objectstore?.instance) {
objectstore = configinfo.config.system.objectstore.instance;
let objectstore = false;
if (configinfo?.system?.config?.objectstore?.uid) {
objectstore = {};
objectstore.uid = configinfo.system.config.objectstore.uid;
if (configinfo?.system?.config?.objectstore?.instance) {
objectstore.instance = configinfo.system.config.objectstore.instance;
}
}
result.objectstore = objectstore;

Expand Down

0 comments on commit 6b5d33d

Please sign in to comment.