refactor: add no trunc

This commit is contained in:
Mauricio Siu
2024-12-25 03:35:21 -06:00
parent 566d9e0bee
commit e65e6d225f
2 changed files with 5 additions and 15 deletions

View File

@@ -438,7 +438,7 @@ export const getApplicationInfo = async (
try {
let stdout = "";
let stderr = "";
const command = `docker service ps ${appName} --format '{{json .}}'`;
const command = `docker service ps ${appName} --format '{{json .}}' --no-trunc`;
if (serverId) {
const result = await execAsyncRemote(serverId, command);
@@ -460,6 +460,8 @@ export const getApplicationInfo = async (
.split("\n")
.map((line) => JSON.parse(line));
console.log(appArray);
return appArray;
} catch (error) {}
};