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

use the new hosts search endpoint #302

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eloyekunle
Copy link

From the Datadog API reference:
The prefix host: is also supported for the query to seach over host names, but it is deprecated, use the host search endpoint instead.

This PR updates the library to use the host search endpoint for hosts search.

search.go Outdated Show resolved Hide resolved
hosts.go Outdated Show resolved Hide resolved
hosts.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@jirikuncar jirikuncar left a comment

Choose a reason for hiding this comment

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

We should keep the old function for compatibility reasons.

@eloyekunle
Copy link
Author

I have re-added the old function.

@eloyekunle
Copy link
Author

@jirikuncar any luck?

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

Successfully merging this pull request may close these issues.

2 participants