Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
fixing nil pointer for real
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Aug 24, 2023
1 parent 3f9ea9f commit fb9bb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jprov/server/attestation.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func attest(w *http.ResponseWriter, r *http.Request, cmd *cobra.Command, q *queu
}

if upload.Response == nil {
http.Error(*w, fmt.Errorf(upload.Response.RawLog).Error(), http.StatusBadRequest)
http.Error(*w, "upload: no response", http.StatusBadRequest)
return
}

Expand Down

0 comments on commit fb9bb66

Please sign in to comment.