commit | 8c9d4367d95bd9595c91402461b132d4b0add1ff | [log] [tgz] |
---|---|---|
author | zhufl <zhu.fanglei@zte.com.cn> | Tue Apr 03 15:45:50 2018 +0800 |
committer | zhufl <zhu.fanglei@zte.com.cn> | Tue Apr 03 15:45:50 2018 +0800 |
tree | 476ef0acde230948ac3c3ef9c044e568bcd11fd7 | |
parent | cad11526e3f5175722c26c4bae90f4357da9a067 [diff] |
Fix TypeError in _unshelve_server addOnException must accept exc_info, otherwise it will raise "TypeError: _unshelve_server() takes no arguments (1 given)", and because there exists check for server status before doing unshelve_server in _unshelve_server, so we can safely use addCleanup here, instead of addOnException. Change-Id: I29759b4120dddd5e42b2ac431dc5884db4f694b5 Closes-Bug: #1741554