Skip to content

Commit dab2df3

Browse files
nikhagra-akamaimjac0bs
andauthored
fix: [DI-26516] - Removed scope from edit alert payload (#12588)
* fix: [DI-26516] - Removed scope from edit alert payload * Added changeset * Remove changesets, add to changelogs * Revert typo in changelog --------- Co-authored-by: mjac0bs <[email protected]>
1 parent b0128a1 commit dab2df3

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

packages/api-v4/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Changed:
1010

1111
- Update CreateKubeClusterPayload interface to support LKE-E node_pool fields ([#12449](https://github.com/linode/manager/pull/12449))
12+
- ACLP: `scope` parameter as option for EditAlertDefinitionPayload type ([#12588](https://github.com/linode/manager/pull/12588))
1213

1314
### Removed:
1415

packages/api-v4/src/cloudpulse/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ export interface EditAlertDefinitionPayload {
339339
rule_criteria?: {
340340
rules: MetricCriteria[];
341341
};
342-
scope: AlertDefinitionScope;
342+
scope?: AlertDefinitionScope;
343343
severity?: AlertSeverityType;
344344
status?: AlertStatusType;
345345
tags?: string[];

packages/manager/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
2727
- Misaligned Object Storage Bucket CORS toggle ([#12543](https://github.com/linode/manager/pull/12543))
2828
- Document title of Linode create page ([#12547](https://github.com/linode/manager/pull/12547))
2929
- Header alignment on invoice details page ([#12565](https://github.com/linode/manager/pull/12565))
30+
- ACLP: Error in ACLP edit alert PUT request due to `scope` in payload ([#12588](https://github.com/linode/manager/pull/12588))
3031

3132
### Tech Stories:
3233

packages/manager/src/features/CloudPulse/Alerts/EditAlert/EditAlertResources.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ export const EditAlertResources = (props: EditAlertProps) => {
5757
alertId,
5858
entity_ids: selectedResources,
5959
serviceType,
60-
scope: alertDetails.scope,
6160
})
6261
.then(() => {
6362
setShowConfirmation(false);

0 commit comments

Comments
 (0)