Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Binbin <[email protected]>
  • Loading branch information
enjoy-binbin committed Jan 15, 2025
1 parent cf2a680 commit 376fd33
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/networking.c
Original file line number Diff line number Diff line change
Expand Up @@ -4522,16 +4522,16 @@ void flushReplicasOutputBuffers(void) {

char *getPausedPurposeString(pause_purpose purpose) {
switch (purpose) {
case PAUSE_BY_CLIENT_COMMAND:
return "client_command";
case PAUSE_DURING_SHUTDOWN:
return "during_shutdown";
case PAUSE_DURING_FAILOVER:
return "during_failover";
case NUM_PAUSE_PURPOSES:
return "none";
default:
return "Unknown pause purpose";
case PAUSE_BY_CLIENT_COMMAND:
return "client_command";
case PAUSE_DURING_SHUTDOWN:
return "during_shutdown";
case PAUSE_DURING_FAILOVER:
return "during_failover";
case NUM_PAUSE_PURPOSES:
return "none";
default:
return "Unknown pause purpose";
}
}

Expand Down

0 comments on commit 376fd33

Please sign in to comment.