-
Notifications
You must be signed in to change notification settings - Fork 142
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
Handle TLS Whitespace #264
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of comments/questions:
- I can see
go-cmp
andterraform-plugin-sdk
being updated in the vendor files, however am confused as to whyaws-sdk-go
has changed - is it a transient dep of one of those? Not an issue now, but its easier if vendoring is self contained to a single commit to make it easier for reviewers. - I like the
StateFunc
approach to this and am now left thinking we should apply this to all logging endpoints that accept certs and our backend TLS fields too. Thoughts?
Absolutely! I will work on a commits that do this.
|
Signed-off-by: Colton J. McCurdy <cmccurdy@fastly.com>
Signed-off-by: Colton J. McCurdy <cmccurdy@fastly.com>
Signed-off-by: Colton J. McCurdy <cmccurdy@fastly.com>
Signed-off-by: Colton J. McCurdy <cmccurdy@fastly.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
Proposed Change(s)
StateFunc
field for trimming leading and trailing whitespace characters in TLS-related fields.cmp.Diff
instead ofreflect.DeepEqual
in Elasticsearch flatten test.appendNewLine
helper function from Elasticsearch test to general test helpers file.StateFunc
.StateFunc
.Validation