From 419bf97233f6a4af7d58e2e6620fb339176c28bc Mon Sep 17 00:00:00 2001 From: joerger Date: Mon, 9 Dec 2024 16:48:23 -0800 Subject: [PATCH] Fix lint. --- .../src/Discover/Server/CreateEc2Ice/CreateEc2IceDialog.tsx | 5 ++--- .../CreatedDiscoveryConfigDialog.tsx | 4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/web/packages/teleport/src/Discover/Server/CreateEc2Ice/CreateEc2IceDialog.tsx b/web/packages/teleport/src/Discover/Server/CreateEc2Ice/CreateEc2IceDialog.tsx index 98adbba084d88..d325d99b3b123 100644 --- a/web/packages/teleport/src/Discover/Server/CreateEc2Ice/CreateEc2IceDialog.tsx +++ b/web/packages/teleport/src/Discover/Server/CreateEc2Ice/CreateEc2IceDialog.tsx @@ -263,9 +263,8 @@ export function CreateEc2IceDialog({ style={{ display: 'flex', textAlign: 'left', width: '100%' }} > - The EC2 instance [{ - typedAgentMeta?.node.awsMetadata.instanceId - }] has been added to Teleport. + The EC2 instance [{typedAgentMeta?.node.awsMetadata.instanceId}] has + been added to Teleport. nextStep()}> Next diff --git a/web/packages/teleport/src/Discover/Shared/ConfigureDiscoveryService/CreatedDiscoveryConfigDialog.tsx b/web/packages/teleport/src/Discover/Shared/ConfigureDiscoveryService/CreatedDiscoveryConfigDialog.tsx index ecf88ddcecfb2..ee7bf1db8e2d0 100644 --- a/web/packages/teleport/src/Discover/Shared/ConfigureDiscoveryService/CreatedDiscoveryConfigDialog.tsx +++ b/web/packages/teleport/src/Discover/Shared/ConfigureDiscoveryService/CreatedDiscoveryConfigDialog.tsx @@ -90,9 +90,7 @@ export function CreatedDiscoveryConfigDialog({ <> {' '} The discovery service can take a few minutes to finish - auto-enrolling resources found in region - {region} - . + auto-enrolling resources found in region {region}. )}