standby promote: use variable name "local_conn" for the local connection handle

This is consistent with usage in other functions, and makes it easier to
differentiate between the local node connection and the primary connection.
This commit is contained in:
Ian Barwick
2019-05-01 14:09:08 +09:00
committed by Ian Barwick
parent e4615b4666
commit b9f07f6a91
2 changed files with 18 additions and 17 deletions

View File

@@ -1953,6 +1953,7 @@ check_cli_parameters(const int action)
{
switch (action)
{
case STANDBY_PROMOTE:
case STANDBY_SWITCHOVER:
break;
default: