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

Fixed #1131 using old endpoint naming #1151

Merged
merged 6 commits into from
Jul 14, 2021
Merged

Fixed #1131 using old endpoint naming #1151

merged 6 commits into from
Jul 14, 2021

Conversation

ezimuel
Copy link
Contributor

@ezimuel ezimuel commented Jul 5, 2021

This PR fixes #1131 using the old endpoint naming convention used in elasticsearch-php <= 6.7. In particular, it adds a check in the endpoint generator script (util/GenerateEndpoints.php) to use this naming conversion:

const BC_CLASS_NAME = [
    'Cat\Nodeattrs'      => 'NodeAttrs',
    'Indices\Forcemerge' => 'ForceMerge',
    'Mtermvectors'       => 'MTermVectors',
    'Termvectors'        => 'TermVectors'
];

@ezimuel ezimuel added this to the 6.8.2 milestone Jul 5, 2021
@kbond
Copy link

kbond commented Jul 9, 2021

@ezimuel this solves #1131 for me!

@ezimuel ezimuel merged commit 469c08e into elastic:6.8.x Jul 14, 2021
@ezimuel
Copy link
Contributor Author

ezimuel commented Jul 14, 2021

Thanks @kbond

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.

2 participants