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

Fix: use text type instead of integer (earlier: duration) #267

Merged
merged 2 commits into from
Sep 10, 2020

Conversation

mtojek
Copy link
Contributor

@mtojek mtojek commented Sep 10, 2020

What does this PR do?

This PR fixes variable type for duration-like option (should be text instead of duration).

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all datasets collect metrics or logs.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@mtojek mtojek self-assigned this Sep 10, 2020
@mtojek
Copy link
Contributor Author

mtojek commented Sep 10, 2020

For reference: elastic/package-spec#44

@elasticmachine
Copy link

elasticmachine commented Sep 10, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #267 updated]

  • Start Time: 2020-09-10T08:35:04.038+0000

  • Duration: 4 min 58 sec

@mtojek mtojek marked this pull request as ready for review September 10, 2020 07:43
@mtojek mtojek requested a review from ruflin September 10, 2020 07:43
- name: socket.reverse_lookup.failure_ttl
type: integer
type: text
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume the user will have to put in something like 10s here and that is why text and not integer is needed? Would be nice to have this in the description in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed! I added a sample value to the description.

@mtojek mtojek changed the title Fix: use text type instead of duration Fix: use text type instead of integer (earlier: duration) Sep 10, 2020
@mtojek mtojek merged commit d1e7dd6 into elastic:master Sep 10, 2020
eyalkraft pushed a commit to build-security/integrations that referenced this pull request Mar 30, 2022
* Fix: use text type instead of duration

* Add sample value
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