From 92c554b4e11a76a8f23424925a6a139d710f22c1 Mon Sep 17 00:00:00 2001 From: Saranya Jena Date: Fri, 12 Aug 2022 18:02:15 +0530 Subject: [PATCH] updated upgrade cmd (#3735) Signed-off-by: Saranya-jena Signed-off-by: Saranya-jena --- litmus-portal/frontend/src/models/graphql/invite.ts | 2 +- .../frontend/src/views/Targets/BrowseCluster/TableData.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litmus-portal/frontend/src/models/graphql/invite.ts b/litmus-portal/frontend/src/models/graphql/invite.ts index 2aa7f038b4b..db7d653eada 100644 --- a/litmus-portal/frontend/src/models/graphql/invite.ts +++ b/litmus-portal/frontend/src/models/graphql/invite.ts @@ -3,7 +3,7 @@ export interface UserInvite { name: string; username: string; email: string; - createdAt: string; + created_at: string; deactivated_at: string; } diff --git a/litmus-portal/frontend/src/views/Targets/BrowseCluster/TableData.tsx b/litmus-portal/frontend/src/views/Targets/BrowseCluster/TableData.tsx index 2325952023a..8c3d9fd25ad 100644 --- a/litmus-portal/frontend/src/views/Targets/BrowseCluster/TableData.tsx +++ b/litmus-portal/frontend/src/views/Targets/BrowseCluster/TableData.tsx @@ -85,7 +85,7 @@ const TableData: React.FC = ({ data, deleteRow }) => { const version = process.env.REACT_APP_KB_CHAOS_VERSION; const [upgradeModal, setUpgradeModal] = React.useState(false); const theme = useTheme(); - const codeSnippet = `litmusctl upgrade agent --cluster-id="${ + const codeSnippet = `litmusctl upgrade chaos-delegate --chaos-delegate-id="${ data.clusterID }" --project-id="${getProjectID()}"`;