Skip to content

Commit

Permalink
Revert "[content-service] Fallback to prodcopy in prod"
Browse files Browse the repository at this point in the history
This reverts commit f4369a7.
  • Loading branch information
csweichel committed Jul 1, 2021
1 parent f4369a7 commit 3af0d30
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions components/content-service/pkg/storage/gcloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,6 @@ func (rs *DirectGCPStorage) download(ctx context.Context, destination string, bk
defer tracing.FinishSpan(span, &err)

rc, _, err := rs.ObjectAccess(ctx, bkt, obj)
if rc == nil {
// Hack: we messed up the prod deployment at some point and need to fall back to prodcopy
rc, _, err = rs.ObjectAccess(ctx, gcpBucketName(StageStaging, rs.Username), obj)
}
if rc == nil {
return false, nil
}
Expand Down

0 comments on commit 3af0d30

Please sign in to comment.