mirror of https://github.com/pulumi/pulumi.git
ff5fe13fe2
urlAuthParser.Parse caches auth methods. To avoid caching the auth method when running into an error, we first checked that the auth method is not nil. However we ran into a classic Go issue where a nil value of a concrete type is assigned to a variable of an interface type, making it not equal to nil. https://go.dev/doc/faq#nil_error https://go.dev/play/p/AOSdCWd3XC1 Fixes https://github.com/pulumi/pulumi/issues/16637 --------- Co-authored-by: Thomas Gummerer <t.gummerer@gmail.com> |
||
---|---|---|
.. | ||
git.go | ||
git_test.go |