Skip to content

Commit

Permalink
fix: print the runtime version on the scan
Browse files Browse the repository at this point in the history
  • Loading branch information
grisha87 committed Aug 30, 2024
1 parent b2ad971 commit 49349e7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 5 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions src/market/market.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,11 @@ marketCommand
}

const displayProposals = offersFound.map((offer) => {
const memory = offer.memory;
const storage = offer.storage;
const memory = offer.memoryGib;
const storage = offer.storageGib;
const runtimeName = offer.runtimeName;
const runtimeVersion = offer.properties["golem.runtime.version"];

return {
providerId: offer.provider.id,
providerName: offer.provider.name,
Expand All @@ -196,6 +199,8 @@ marketCommand
cpuThreads: offer.cpuThreads,
memoryGib: memory ? parseFloat(memory.toFixed(1)) : "N/A",
storageGib: storage ? parseFloat(storage.toFixed(1)) : "N/A",
runtimeName,
runtimeVersion,
};
});

Expand Down

0 comments on commit 49349e7

Please sign in to comment.