Re:Somehow, sometimes, this happens
by FLUX-YOU on Monday January 29, 2018 @02:15PM
(#16259899)
renewAuth() calls RenewTokenAsSelf() which calls ParseSecret() which calls DecodeJSONFromReader()
DecodeJSONFromReader has a couple of comments stating that the interface is a pointer along with "While decoding JSON values...", so is the reader an asynchronous object and renewal and renewal.Auth are modified after the error case is checked?
DecodeJSONFromReader has a couple of comments stating that the interface is a pointer along with "While decoding JSON values...", so is the reader an asynchronous object and renewal and renewal.Auth are modified after the error case is checked?
(I know nothing about Go, basically)