Prevent NPE if gitea uploader fails to open url (#18080)
If http.Get() returns an error return nil and err before attempting to use the broken file. Thanks to walker xiong for spotting this bug. Signed-off-by: Andrew Thornton <art27@cantab.net>tokarchuk/v1.17
parent
ffc08c1914
commit
a5df7ba6bf
Loading…
Reference in new issue