From 0c351c07e51b3d83bbaff128e1210f0796e3b29d Mon Sep 17 00:00:00 2001 From: Romy <35330373+romayalon@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:40:48 +0200 Subject: [PATCH] change name of status Signed-off-by: Romy <35330373+romayalon@users.noreply.github.com> --- src/tools/diagnostics/analyze_network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/diagnostics/analyze_network.js b/src/tools/diagnostics/analyze_network.js index b4f11ef931..984403b6f3 100644 --- a/src/tools/diagnostics/analyze_network.js +++ b/src/tools/diagnostics/analyze_network.js @@ -41,14 +41,14 @@ async function get_network_status(argv, config_fs) { dbg.log0('starting to analyze network'); if (is_nc_deployment) { const nc_network_status = await test_nc_network(config_fs); - write_stdout_response(ManageCLIResponse.HealthStatus, nc_network_status); + write_stdout_response(ManageCLIResponse.NetworkStatus, nc_network_status); } else { const network_status = await test_network(); dbg.log0('network_status', network_status); } } catch (err) { dbg.error('Health: exit on error', err.stack || err); - if (is_nc_deployment) throw_cli_error({ ...ManageCLIError.HealthStatusFailed, cause: err }); + if (is_nc_deployment) throw_cli_error({ ...ManageCLIError.NetworkStatusFailed, cause: err }); } process.exit(0); }