From 30aeab806d3f64093aba4309c296dcfabeedf027 Mon Sep 17 00:00:00 2001 From: Zhiwei Liang Date: Mon, 28 Aug 2023 22:51:14 -0400 Subject: [PATCH] Add `ActionVolumeDelete` event, deprecate `ActionVolumeDelte` --- account_events.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/account_events.go b/account_events.go index c6dc005e5..fb9691dd8 100644 --- a/account_events.go +++ b/account_events.go @@ -177,10 +177,14 @@ const ( ActionVolumeAttach EventAction = "volume_attach" ActionVolumeClone EventAction = "volume_clone" ActionVolumeCreate EventAction = "volume_create" - ActionVolumeDelte EventAction = "volume_delete" + ActionVolumeDelete EventAction = "volume_delete" ActionVolumeUpdate EventAction = "volume_update" ActionVolumeDetach EventAction = "volume_detach" ActionVolumeResize EventAction = "volume_resize" + + // deprecated due to incorrect spelling, + // to be removed in the next major version release. + ActionVolumeDelte EventAction = "volume_delete" ) // EntityType constants start with Entity and include Linode API Event Entity Types