Skip to content

Commit

Permalink
Merge pull request #3410 from wkloucek/fix-nil-pointer
Browse files Browse the repository at this point in the history
[tests-only] fix nil pointer errror
  • Loading branch information
Klaas Freitag authored Nov 2, 2022
2 parents d83845b + bd8fd3f commit 3540a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/appprovider/appprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func (s *svc) handleOpen(openMode int) http.HandlerFunc {
return
}

if status := utils.ReadPlainFromOpaque(statRes.Info.Opaque, "status"); status == "processing" {
if status := utils.ReadPlainFromOpaque(statRes.GetInfo().GetOpaque(), "status"); status == "processing" {
writeError(w, r, appErrorTooEarly, "The requested file is not yet available, please try again later", nil)
return
}
Expand Down

0 comments on commit 3540a98

Please sign in to comment.