Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[Webportal] Use GPU number as SKU number when import config #4883

Merged
merged 1 commit into from
Sep 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class JobTaskRole {
hivedSku.skuNum = get(
extras,
`hivedScheduler.taskRoles.${name}.skuNum`,
1,
Math.max(get(resourcePerInstance, 'gpu', 1), 1),
);
hivedSku.skuType = get(
extras,
Expand Down