The internal API changed this name recently, but this got missed
due to lack of test coverage for this exception. Turns out adding
that test coverage is really hard due to all the coroutine magic,
so we'll have to fix that at some later time.
Change-Id: I98a0c5bb8f3f001a7d215bcdf64cad841e42ef85
if done:
if self._nested.state != (self._nested.CREATE,
self._nested.COMPLETE):
- raise exception.Error(self._nested.state_description)
+ raise exception.Error(self._nested.status_reason)
return done