)]}'
{"ironic/conductor/manager.py":[{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"cecb34bb703498acac2d843edf43760832b6395a","unresolved":false,"context_lines":[{"line_number":254,"context_line":"            # Set the target_power_state and clear any last_error, since we\u0027re"},{"line_number":255,"context_line":"            # starting a new operation. This will expose to other processes"},{"line_number":256,"context_line":"            # and clients that work is in progress."},{"line_number":257,"context_line":"            task.node.target_power_state \u003d new_state"},{"line_number":258,"context_line":"            task.node.last_error \u003d None"},{"line_number":259,"context_line":"            task.node.save()"},{"line_number":260,"context_line":"            task.set_spawn_error_hook(utils.power_state_error_handler,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa69d971_1337c1ff","line":257,"range":{"start_line":257,"start_character":0,"end_line":257,"end_character":52},"updated":"2016-01-07 06:40:54.000000000","message":"as your commit message said, we will update the target_power_state in node_power_action, why not get rid of this line as well?","commit_id":"dfcfb99f32793a9de3c0261bf60d94ab8b902873"},{"author":{"_account_id":14810,"name":"Kan","email":"sofaopenstack@gmail.com","username":"Kan"},"change_message_id":"e95f2ed8b6ffd0a759363d714d74b503e123018e","unresolved":false,"context_lines":[{"line_number":254,"context_line":"            # Set the target_power_state and clear any last_error, since we\u0027re"},{"line_number":255,"context_line":"            # starting a new operation. This will expose to other processes"},{"line_number":256,"context_line":"            # and clients that work is in progress."},{"line_number":257,"context_line":"            task.node.target_power_state \u003d new_state"},{"line_number":258,"context_line":"            task.node.last_error \u003d None"},{"line_number":259,"context_line":"            task.node.save()"},{"line_number":260,"context_line":"            task.set_spawn_error_hook(utils.power_state_error_handler,"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa69d971_ac5532fa","line":257,"range":{"start_line":257,"start_character":0,"end_line":257,"end_character":52},"in_reply_to":"fa69d971_1337c1ff","updated":"2016-01-07 07:39:23.000000000","message":"Yes, I missed that, will address a new patch. Thanks.","commit_id":"dfcfb99f32793a9de3c0261bf60d94ab8b902873"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"d25699d5d37ab223ff8357b73bfdea30af894c58","unresolved":false,"context_lines":[{"line_number":255,"context_line":"            # This will expose to other processes and clients that work is"},{"line_number":256,"context_line":"            # in progress."},{"line_number":257,"context_line":"            task.node.last_error \u003d None"},{"line_number":258,"context_line":"            task.node.save()"},{"line_number":259,"context_line":"            task.set_spawn_error_hook(utils.power_state_error_handler,"},{"line_number":260,"context_line":"                                      task.node, task.node.power_state)"},{"line_number":261,"context_line":"            task.spawn_after(self._spawn_worker, utils.node_power_action,"}],"source_content_type":"text/x-python","patch_set":2,"id":"da6ed579_09401333","line":258,"updated":"2016-01-15 06:59:33.000000000","message":"Looks like L254-258 was moved to condutor/utils.py:L114-120, or they have similar purpose, please clean them too. So in this function, it only do validate work and return any error to user immediately. Any async action will be handle in other functions. This is reasonable to me.","commit_id":"d3ce1647d252489c3012f276904742e4abe5ff6e"}]}
