remove unnecessary data retrieval

Open username-removed-1156556 requested to merge jwjwjw/gitlab-ce:master into master

What does this MR do?

remove unnecessary data retrieval

What are the relevant issue numbers?

#36686

Edited by username-removed-1156556