Currently create_unit executes a get_unit call after it has created the unit which makes create_unit fail sometimes with the following error message: Unable to create unit: unit does not exist (404)
Since fleet already returns a response code when handling units create_unit should simply check this response code and not call get_unit.
Currently
create_unitexecutes aget_unitcall after it has created the unit which makescreate_unitfail sometimes with the following error message:Unable to create unit: unit does not exist (404)Since fleet already returns a response code when handling units
create_unitshould simply check this response code and not callget_unit.