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

[Webportal] Support dynamic sku types for different vc #4900

Merged
merged 2 commits into from
Sep 21, 2020

Conversation

abuccts
Copy link
Member

@abuccts abuccts commented Sep 11, 2020

Support dynamic sku types for different virtual clusters on webportal.

Support dynamic sku types for different virtual clusters on webportal.
@abuccts abuccts mentioned this pull request Sep 11, 2020
31 tasks
@coveralls
Copy link

coveralls commented Sep 11, 2020

Coverage Status

Coverage decreased (-0.04%) to 34.766% when pulling dcd2da6 on xiongyf/support-dynamic-sku-for-vc into d0d0fc8 on master.

@scarlett2018 scarlett2018 removed the request for review from debuggy September 15, 2020 08:21
if (config.launcherScheduler !== 'hivedscheduler') {
return {};
}
return wrapper(async () =>
(await fetch(`${config.restServerUri}/api/v2/cluster/sku-types`, {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better use url-join to avoid ending '/' bugs
example

headers: {
Authorization: `Bearer ${token}`,
(await fetch(
`${config.restServerUri}/api/v2/cluster/sku-types?vc=${virtualCluster}`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

url-join

Use url-join.
@abuccts abuccts merged commit d31eb2a into master Sep 21, 2020
@abuccts abuccts deleted the xiongyf/support-dynamic-sku-for-vc branch September 21, 2020 06:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants