Skip to content

Commit

Permalink
chore: correct status code name
Browse files Browse the repository at this point in the history
Signed-off-by: svetoslav-nikol0v <[email protected]>
  • Loading branch information
svetoslav-nikol0v committed Jun 12, 2024
1 parent 58cb8f9 commit 302f131
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Status.js
Original file line number Diff line number Diff line change
Expand Up @@ -663,8 +663,8 @@ export default class Status {
return "INVALID_ENDPOINT";
case Status.GossipEndpointsExceededLimit:
return "GOSSIP_ENDPOINTS_EXCEEDED_LIMIT";
case Status.ServiceEndpointExceededLimit:
return "SERVICE_ENDPOINT_EXCEEDED_LIMIT";
case Status.ServiceEndpointsExceededLimit:
return "SERVICE_ENDPOINTS_EXCEEDED_LIMIT";
case Status.InvalidIpv4Address:
return "INVALID_IPV4_ADDRESS";
default:
Expand Down Expand Up @@ -1302,7 +1302,7 @@ export default class Status {
case 352:
return Status.GossipEndpointsExceededLimit;
case 356:
return Status.ServiceEndpointExceededLimit;
return Status.ServiceEndpointsExceededLimit;
case 357:
return Status.InvalidIpv4Address;
default:
Expand Down Expand Up @@ -2921,7 +2921,7 @@ Status.GossipEndpointsExceededLimit = new Status(352);
/**
* The number of service endpoints exceeds the limit
*/
Status.ServiceEndpointExceededLimit = new Status(356)
Status.ServiceEndpointsExceededLimit = new Status(356)

/*
* The IPv4 address is invalid
Expand Down

0 comments on commit 302f131

Please sign in to comment.