Skip to content

Commit

Permalink
add db_tenant_id
Browse files Browse the repository at this point in the history
  • Loading branch information
rlindner81 committed Feb 19, 2024
1 parent bc57e21 commit ff390bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/submodules/hanaManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,13 +458,14 @@ const hdiListServiceManager = async (context, filterTenantId, doTimestamps) => {
const bindingsByInstance = _getBindingsByInstance(bindings);
instances.sort(compareForServiceManagerTenantId);

const headerRow = ["tenant_id", "host", "schema", "ready"];
const headerRow = ["tenant_id", "db_tenant_id", "host", "schema", "ready"];
doTimestamps && headerRow.push("created_on", "updated_on");
const nowDate = new Date();
const instanceMap = (instance) => {
const [binding] = bindingsByInstance[instance.id] || [];
const row = [
instance.labels.tenant_id[0],
binding ? binding.credentials?.tenantId ?? "" : "missing binding",
binding ? binding.credentials?.host + ":" + binding.credentials?.port : "missing binding",
binding ? binding.credentials?.schema : "",
instance.ready,
Expand Down

0 comments on commit ff390bb

Please sign in to comment.