From 25981cecb1594d77ceb14854e72e9596e85e4e4c Mon Sep 17 00:00:00 2001 From: Thibault Barske Date: Wed, 8 Jan 2025 15:16:25 +0100 Subject: [PATCH] fixup! feat(nutanix): add nutanix node popin Signed-off-by: Thibault Barske --- .../src/dashboard/general-info/add-nodes/add-nodes.routing.js | 2 +- .../src/dashboard/nodes/list/add-nodes/add-nodes.routing.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/manager/modules/nutanix/src/dashboard/general-info/add-nodes/add-nodes.routing.js b/packages/manager/modules/nutanix/src/dashboard/general-info/add-nodes/add-nodes.routing.js index cc38fca78657..74c5cb56e59e 100644 --- a/packages/manager/modules/nutanix/src/dashboard/general-info/add-nodes/add-nodes.routing.js +++ b/packages/manager/modules/nutanix/src/dashboard/general-info/add-nodes/add-nodes.routing.js @@ -13,7 +13,7 @@ export default /* @ngInject */ ($stateProvider) => { goBack: /* @ngInject */ (goToDashboard) => goToDashboard, nodeTechnicalDetails: /* @ngInject */ (NutanixService, cluster) => NutanixService.getNodeHardwareInfo(cluster.targetSpec.nodes[0].server), - nodeServicesDetails: (NutanixService, server) => + nodeServicesDetails: /* ngInject */ (NutanixService, server) => NutanixService.getAllServicesDetails(server.serviceId), nodePricing: /* ngInject */ (NutanixService, nodeServicesDetails) => NutanixService.constructor.getServicesTotalPrice( diff --git a/packages/manager/modules/nutanix/src/dashboard/nodes/list/add-nodes/add-nodes.routing.js b/packages/manager/modules/nutanix/src/dashboard/nodes/list/add-nodes/add-nodes.routing.js index 84c2cee34330..6d90b5048695 100644 --- a/packages/manager/modules/nutanix/src/dashboard/nodes/list/add-nodes/add-nodes.routing.js +++ b/packages/manager/modules/nutanix/src/dashboard/nodes/list/add-nodes/add-nodes.routing.js @@ -14,7 +14,7 @@ export default /* @ngInject */ ($stateProvider) => { $state.go('nutanix.dashboard.nodes.all'), nodeTechnicalDetails: /* @ngInject */ (NutanixService, cluster) => NutanixService.getNodeHardwareInfo(cluster.targetSpec.nodes[0].server), - nodeServicesDetails: (NutanixService, server) => + nodeServicesDetails: /* ngInject */ (NutanixService, server) => NutanixService.getAllServicesDetails(server.serviceId), nodePricing: /* ngInject */ (NutanixService, nodeServicesDetails) => NutanixService.constructor.getServicesTotalPrice(