"examples/mxnet/gin/README.md" did not exist on "8731050394b97acd8060b7e1583a0b5280f6b879"
Commit 75bee074 authored by Michael Yang's avatar Michael Yang
Browse files

fix: nil pointer dereference

parent 533d7636
......@@ -106,6 +106,7 @@ func getAuthToken(ctx context.Context, redirData AuthRedirect) (string, error) {
resp, err := makeRequest(ctx, "GET", redirectURL, headers, nil, nil)
if err != nil {
log.Printf("couldn't get token: %q", err)
return "", err
}
defer resp.Body.Close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment