Skip to content

Commit

Permalink
Update event messages for disk
Browse files Browse the repository at this point in the history
  • Loading branch information
pmakode-akamai committed Sep 3, 2024
1 parent f17ffcc commit 403b862
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ describe('linode storage tab', () => {
ui.toast.assertMessage('Disk queued for resizing.');
// cy.findByText('Resizing', { exact: false }).should('be.visible');
ui.toast.assertMessage(
`A disk ${diskName} on Linode ${linode.label} has been resized.`
`Disk ${diskName} on Linode ${linode.label} has been resized.`
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ describe('resize linode', () => {

// Wait until the disk resize is done.
ui.toast.assertMessage(
`A disk ${diskName} on Linode ${linode.label} has been resized.`
`Disk ${diskName} on Linode ${linode.label} has been resized.`
);

interceptLinodeResize(linode.id).as('linodeResize');
Expand Down
10 changes: 5 additions & 5 deletions packages/manager/src/features/Events/factories/disk.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const disk: PartialEventMap<'disk'> = {
disk_resize: {
failed: (e) => (
<>
A disk <EventLink event={e} to="secondaryEntity" /> on Linode{' '}
Disk <EventLink event={e} to="secondaryEntity" /> on Linode{' '}
<EventLink event={e} to="entity" /> could <strong>not</strong> be{' '}
<strong>resized</strong>.{' '}
<Link
Expand All @@ -163,26 +163,26 @@ export const disk: PartialEventMap<'disk'> = {
),
finished: (e) => (
<>
A disk <EventLink event={e} to="secondaryEntity" /> on Linode{' '}
Disk <EventLink event={e} to="secondaryEntity" /> on Linode{' '}
<EventLink event={e} to="entity" /> has been <strong>resized</strong>.
</>
),
notification: (e) => (
<>
A disk <EventLink event={e} to="secondaryEntity" /> on Linode{' '}
Disk <EventLink event={e} to="secondaryEntity" /> on Linode{' '}
<EventLink event={e} to="entity" /> has been <strong>resized</strong>.
</>
),
scheduled: (e) => (
<>
A disk <EventLink event={e} to="secondaryEntity" /> on Linode{' '}
Disk <EventLink event={e} to="secondaryEntity" /> on Linode{' '}
<EventLink event={e} to="entity" /> is scheduled to be{' '}
<strong>resized</strong>.
</>
),
started: (e) => (
<>
A disk <EventLink event={e} to="secondaryEntity" /> on Linode{' '}
Disk <EventLink event={e} to="secondaryEntity" /> on Linode{' '}
<EventLink event={e} to="entity" /> is being <strong>resized</strong>.
</>
),
Expand Down

0 comments on commit 403b862

Please sign in to comment.