-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bug/1560 tlsCipherSuites and tlsVersion marshaling #1603
Conversation
The linter picks up many errors, most of which are for files I haven't changed. One error that is relevant PR is this one:
But this line is similar to others in the file (e.g. line 49: |
Hi @berndhartzer, thanks for the PR !!! 🎉 We have fixed the |
d8ceb1a
to
aee477a
Compare
aee477a
to
576c7b9
Compare
Codecov Report
@@ Coverage Diff @@
## master #1603 +/- ##
==========================================
+ Coverage 74.82% 74.83% +0.01%
==========================================
Files 164 164
Lines 14035 14043 +8
==========================================
+ Hits 10501 10509 +8
+ Misses 3002 3001 -1
- Partials 532 533 +1
Continue to review full report at Codecov.
|
Thanks @mstoykov I've fixed it now 🙂 |
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, just a nitpick and a comment.
@@ -235,7 +250,7 @@ type Options struct { | |||
|
|||
// Specify TLS versions and cipher suites, and present client certificates. | |||
TLSCipherSuites *TLSCipherSuites `json:"tlsCipherSuites" envconfig:"K6_TLS_CIPHER_SUITES"` | |||
TLSVersion *TLSVersions `json:"tlsVersion" envconfig:"K6_TLS_VERSION"` | |||
TLSVersion *TLSVersions `json:"tlsVersion" ignored:"true"` |
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.
FWIW I think we could fix the envconfig issue with a custom decoder and keep the K6_TLS_VERSION
env var, but since it's not documented in the k6 docs, and making it work is tricky in general because of #883, I'm OK with ignoring it.
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.
We can't keep delaying the envconfig removal, so lets ignore this for now and fix it properly everywhere soon.
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.
Thanks for your work!
Closes #1560