Przeglądaj źródła

fix calls to destroy infra on frontend

Alexander Belanger 4 lat temu
rodzic
commit
88851d9e45

+ 1 - 1
dashboard/src/main/home/Home.tsx

@@ -336,7 +336,7 @@ class Home extends Component<PropsType, StateType> {
 
         return api.destroyInfra(
           "<token>",
-          { name: cluster.name },
+          {},
           { project_id: currentProject.id, infra_id: cluster.infra_id }
         );
       });

+ 1 - 1
dashboard/src/main/home/modals/UpdateClusterModal.tsx

@@ -62,7 +62,7 @@ class UpdateClusterModal extends Component<PropsType, StateType> {
         api
           .destroyInfra(
             "<token>",
-            { name: currentCluster.name },
+            {},
             {
               project_id: currentProject.id,
               infra_id: currentCluster.infra_id,