mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: add no trunc
This commit is contained in:
@@ -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) {}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user