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 validation issue in service connector #339

Merged
merged 4 commits into from
Nov 3, 2020

Conversation

willarmiros
Copy link
Contributor

Issue #, if available:
#287 (comment)

Description of changes:
Allow LastModificationTime to be 0, and add a unit test to verify behavior.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@srprash srprash self-assigned this Oct 6, 2020
Copy link
Contributor

@srprash srprash left a comment

Choose a reason for hiding this comment

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

Looks good!


ServiceConnector.fetchTargets([], callbackObj.errCallback);

callbackObj.errCallback.should.have.been.calledOnce;
});

it('Allows LastModificationDate to be 0', function(done) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Tiny correction here. The key is "LastRuleModification".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, thanks!

@willarmiros willarmiros merged commit 159b970 into aws:master Nov 3, 2020
@willarmiros willarmiros deleted the fix-validation branch November 3, 2020 19:57
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.

None yet

2 participants