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

Commit

Permalink
Merge pull request #98 from JackalLabs/fixing-nil-pointer
Browse files Browse the repository at this point in the history
Fix: removing nil pointer
  • Loading branch information
TheMarstonConnell authored Aug 24, 2023
2 parents 9e34c79 + fb9bb66 commit a3a4ca1
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 a3a4ca1

Please sign in to comment.