You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It have been found the same bug in 2 different package (tls and cache) so just in case I create a bug report for it.
Using defaultOps as var in option.go may create potential bugs in the program as it share the same instance to all callers.
I suggest to change all the implementation of defaultOps to from var to func()? (like this commit) db434cb
To Reproduce:
Expected behavior:
Environment:
Go Version: 1.14.3
Docker Version: 19.03.8
Kubernetes Version: 1.18.2
NGT Version: 1.11.5
The text was updated successfully, but these errors were encountered:
Issue-Label Bot is automatically applying the label type/bug to this issue, with a confidence of 0.97. Please mark this comment with 👍 or 👎 to give our bot feedback!
Describe the bug:
It have been found the same bug in 2 different package (tls and cache) so just in case I create a bug report for it.
Using
defaultOps
asvar
inoption.go
may create potential bugs in the program as it share the same instance to all callers.I suggest to change all the implementation of defaultOps to from
var
tofunc()
? (like this commit)db434cb
To Reproduce:
Expected behavior:
Environment:
The text was updated successfully, but these errors were encountered: