rest: don't load useless resource
rest: don't load useless resource

We don't need to query the resource tables when we fetch measures.

This change removes the query to the resource table in this case.

leandroreox/gnocchi,gnocchixyz/gnocchi,leandroreox/gnocchi,sileht/gnocchi,gnocchixyz/gnocchi,sileht/gnocchi