| Conditions | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | from lib import actions |
||
| 10 | def run(self, **kwargs): |
||
| 11 | action = kwargs['action'] |
||
| 12 | del kwargs['action'] |
||
| 13 | region = kwargs['region'] |
||
| 14 | del kwargs['region'] |
||
| 15 | location_id = kwargs['location'] |
||
| 16 | del kwargs['location'] |
||
| 17 | driver = self._get_compute_driver(region) |
||
| 18 | location = driver.ex_get_location_by_id(location_id) |
||
| 19 | kwargs['location'] = location |
||
| 20 | return self._do_function(driver, action, **kwargs) |
||
| 21 |