Skip to content

Commit

Permalink
change: [M3-8849] - Include migration type in Linode status when it i…
Browse files Browse the repository at this point in the history
…s migrating
  • Loading branch information
harsh-akamai committed Nov 20, 2024
1 parent 8aa1545 commit d48dfc9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/manager/src/features/Linodes/transitions.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { Event, EventAction } from '@linode/api-v4/lib/account';

import {
isEventRelevantToLinode,
isInProgressEvent,
Expand All @@ -8,6 +6,8 @@ import {
} from 'src/queries/events/event.helpers';
import { capitalizeAllWords } from 'src/utilities/capitalize';

import type { Event, EventAction } from '@linode/api-v4/lib/account';

export const transitionStatus = [
'booting',
'shutting_down',
Expand All @@ -28,7 +28,8 @@ const transitionActionMap: Partial<Record<EventAction, string>> = {
disk_imagize: 'Capturing Image',
disk_resize: 'Disk Resizing',
linode_clone: 'Cloning',
linode_migrate_datacenter: 'Migrating',
linode_migrate: 'Warm Migrating',
linode_migrate_datacenter: 'Cold Migrating',
linode_mutate: 'Upgrading',
linode_rebuild: 'Rebuilding',
linode_resize: 'Resizing',
Expand Down

0 comments on commit d48dfc9

Please sign in to comment.