missing indentation
```ruby
when 'error'
  data['error'] || "Cannot download release on nodes #{error_uids.inspect}"
when 'ready'
  status = 'error'
```