ensure_resource: fix documentation typo