)]}'
{"magnumclient/v1/bays.py":[{"author":{"_account_id":19220,"name":"Michael Lekkas","email":"mikelekkas@gmail.com","username":"lekkasmi"},"change_message_id":"edb2add22804910b332785f29dcbb3bd650a1274","unresolved":false,"context_lines":[{"line_number":99,"context_line":"    def update(self, id, patch, rollback\u003dFalse):"},{"line_number":100,"context_line":"        url \u003d self._path(id)"},{"line_number":101,"context_line":"        if rollback:"},{"line_number":102,"context_line":"            url +\u003d \u0027/?rollback\u003dTrue\u0027"},{"line_number":103,"context_line":"        return self._update(url, patch)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1ac06dbe_e95f1a73","line":102,"updated":"2016-08-25 13:39:02.000000000","message":"In order to \"bullet proof\" this part of the code for any future changes, please evaluate instead of concatenating and taking for granted that \"rollback\" will be the first query parameter whether you can search the \"url\" and append the query parameter independently whether it will be the first or there are more query parameters","commit_id":"fd6a8c0ada6e032bb939dcd3f780ccbe837502a7"}],"magnumclient/v1/bays_shell.py":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"df4f783fb7ec9eca7f60dff6c8ac67a5e6207ddd","unresolved":false,"context_lines":[{"line_number":170,"context_line":"def do_bay_update(cs, args):"},{"line_number":171,"context_line":"    \"\"\"Update information about the given bay.\"\"\""},{"line_number":172,"context_line":"    patch \u003d magnum_utils.args_array_to_patch(args.op, args.attributes[0])"},{"line_number":173,"context_line":"    bay \u003d cs.bays.update(args.bay, patch, rollback\u003dargs.rollback)"},{"line_number":174,"context_line":"    _show_bay(bay)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"1ac06dbe_fe576555","line":173,"range":{"start_line":173,"start_character":42,"end_line":173,"end_character":64},"updated":"2016-08-23 15:08:51.000000000","message":"To address @yuanying\u0027s comment, you can check the requested api-version and send the rollback argument only if the version is bigger than 1.3","commit_id":"fd6a8c0ada6e032bb939dcd3f780ccbe837502a7"}]}
