Skip to content

Commit

Permalink
change name of status
Browse files Browse the repository at this point in the history
Signed-off-by: Romy <[email protected]>
  • Loading branch information
romayalon committed Dec 10, 2024
1 parent 1e45765 commit 0c351c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/diagnostics/analyze_network.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0c351c0

Please sign in to comment.