Skip to content

Commit

Permalink
update latest API version
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroopar committed Jan 6, 2025
1 parent 1395daa commit 07d37e8
Show file tree
Hide file tree
Showing 5 changed files with 2,033 additions and 5,481 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const AddOrUpdateServicePolicy = ({
const policyUpdateRequest: ServicePolicyUpdateRequest = {
enabled: policyRequest.enabled,
policy: policyRequest.policy,
flavorNameList: policyRequest.flavors,
flavorNames: policyRequest.flavors,
};
setUpdatePolicyRequest(policyUpdateRequest);
updatePoliciesManagementServiceRequest.mutate({
Expand Down
4 changes: 2 additions & 2 deletions src/components/content/monitor/MetricQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const onlyLastKnownMetricQueryFn = (serviceId: string, metricType: monitorResour
serviceId: serviceId,
resourceId: undefined,
monitorResourceType: metricType,
from: undefined,
_from: undefined,
to: undefined,
granularity: undefined,
onlyLastKnownMetric: true,
Expand Down Expand Up @@ -49,7 +49,7 @@ const monitorMetricQueryFn = (serviceId: string, metricType: monitorResourceType
serviceId: serviceId,
resourceId: undefined,
monitorResourceType: metricType,
from: getMetricRequestParams(getTotalSecondsOfTimePeriod(timePeriod)).from,
_from: getMetricRequestParams(getTotalSecondsOfTimePeriod(timePeriod)).from,
to: getMetricRequestParams(getTotalSecondsOfTimePeriod(timePeriod)).to,
granularity: undefined,
onlyLastKnownMetric: false,
Expand Down
Loading

0 comments on commit 07d37e8

Please sign in to comment.