Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change TransportRequestOptions.ignore to number[] #1053

Merged
merged 1 commit into from
Jan 15, 2020

Conversation

joshdifabio
Copy link
Contributor

The underlying JavaScript handles arrays of any length. The current type of TransportRequestOptions.ignore, which is [number], only allows arrays with length==1, which looks like a mistake, and prevents the ignore API from being usable when we want to ignore multiple error statuses (which I do).

The underlying JavaScript handles arrays of any length. The current type of 
TransportRequestOptions.ignore, which is [number], only allows arrays with
length==1, which looks like a mistake, and prevents the ignore API from being
usable when we want to ignore multiple error statuses (which I do).
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Copy link
Member

@delvedor delvedor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch!
Can you sign the CLA? :)

@delvedor
Copy link
Member

jenkins run the tests please

@joshdifabio
Copy link
Contributor Author

Can you sign the CLA? :)

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants