Skip to content

Commit 0564ad2

Browse files
committed
[exoframe-cli] Include deployment name into list details
1 parent cc756ed commit 0564ad2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/exoframe-cli/src/util/renderDeployments.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import { tableBorder, tableStyle } from '../config/table.js';
44
export const renderDeployments = (deployments) => {
55
// create table
66
const resultTable = new Table({
7-
head: ['ID', 'URL', 'Hostname', 'Type'],
7+
head: ['ID', 'Deployment Name', 'URL', 'Hostname', 'Type'],
88
chars: tableBorder,
99
style: tableStyle,
1010
});
1111

1212
// process deployments
13-
deployments.forEach(({ name, domain, host, type }) => {
14-
resultTable.push([name, domain, host, type]);
13+
deployments.forEach(({ name, deploymentName, domain, host, type }) => {
14+
resultTable.push([name, deploymentName, domain, host, type]);
1515
});
1616

1717
// draw table

0 commit comments

Comments
 (0)