Skip to content

Commit

Permalink
Merge pull request #3392 from fschade/fix-app-provider-too-early
Browse files Browse the repository at this point in the history
[tests-only] fix postprocessing too early in app provider
  • Loading branch information
kobergj authored Oct 24, 2022
2 parents 613c284 + 6f4b53b commit 0f407a1
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.Opaque, "status"); status == "processing" {
if status := utils.ReadPlainFromOpaque(statRes.Info.Opaque, "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 0f407a1

Please sign in to comment.