mirror of https://github.com/pulumi/pulumi.git
![]() 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 |