mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
Handle unhandled NodeStatus in switch statement
This commit is contained in:
@@ -5957,6 +5957,8 @@ print_node_status(NodeStatus node_status)
|
|||||||
return "DOWN";
|
return "DOWN";
|
||||||
case NODE_STATUS_UNCLEAN_SHUTDOWN:
|
case NODE_STATUS_UNCLEAN_SHUTDOWN:
|
||||||
return "UNCLEAN_SHUTDOWN";
|
return "UNCLEAN_SHUTDOWN";
|
||||||
|
case NODE_STATUS_REJECTED:
|
||||||
|
return "REJECTED";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "UNIDENTIFIED_STATUS";
|
return "UNIDENTIFIED_STATUS";
|
||||||
|
|||||||
Reference in New Issue
Block a user