Skip to content

Commit caf37e4

Browse files
committed
Fix constant name spelling
1 parent 9269f3a commit caf37e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/grpc-js/src/channel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function getNewCallNumber(): number {
6868
return callNumber;
6969
}
7070

71-
const INAPPPROPRIATE_CONTROL_PLANE_CODES: Status[] = [
71+
const INAPPROPRIATE_CONTROL_PLANE_CODES: Status[] = [
7272
Status.OK,
7373
Status.INVALID_ARGUMENT,
7474
Status.NOT_FOUND,
@@ -80,7 +80,7 @@ const INAPPPROPRIATE_CONTROL_PLANE_CODES: Status[] = [
8080
]
8181

8282
function restrictControlPlaneStatusCode(code: Status, details: string): {code: Status, details: string} {
83-
if (INAPPPROPRIATE_CONTROL_PLANE_CODES.includes(code)) {
83+
if (INAPPROPRIATE_CONTROL_PLANE_CODES.includes(code)) {
8484
return {
8585
code: Status.INTERNAL,
8686
details: `Invalid status from control plane: ${code} ${Status[code]} ${details}`

0 commit comments

Comments
 (0)