resource_status service fix.
pep8