feat: add debug logging for resource name and command in Docker resource type determination

This commit is contained in:
Mauricio Siu
2025-09-05 02:11:46 -06:00
parent 3891798b17
commit c6509efa65

View File

@@ -253,6 +253,7 @@ export const getDockerResourceType = async (
resourceName: string,
serverId?: string,
) => {
console.log("resourceName", resourceName);
let result = "";
const command = `
RESOURCE_NAME="${resourceName}"
@@ -270,6 +271,8 @@ export const getDockerResourceType = async (
exit 0
`;
console.log("command", command);
if (serverId) {
const { stdout } = await execAsyncRemote(serverId, command);
result = stdout.trim();