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

Fixes moment deprecation warnings from kibana #80

Merged

Conversation

mejarrett
Copy link

@mejarrett mejarrett commented Aug 16, 2017

  • Gets rid of moment.add and moment.subtract warnings on the Analyze Dashboard after searching a query and then trying to Save Rule.

From Moment.js documentation:
Before version 2.8.0, the moment.subtract/add(String, Number) syntax was also supported. It has been deprecated in favor of moment.subtract/add(Number, String).
moment().subtract('seconds', 1); // Deprecated in 2.8.0
moment().subtract(1, 'seconds');

We're currently on version 2.13.0 so it's a preventative fix.

Goes with the www PR

@craig-cogdill
Copy link

👍 Tested on dev box

@josh-cogdill
Copy link

👍

@craig-cogdill craig-cogdill merged commit eb8aed6 into logrhythm:4.1.10_NM Aug 17, 2017
@mejarrett mejarrett deleted the momentDeprecationKibana branch October 30, 2017 16:27
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