rapi: Remove “/2” resource, deprecate “/”
These were never really useful. Neither gave a complete list of available resources—the documentation in doc/rapi.rst is much better at that. Since some monitoring code might use the “/” resource it's kept around but will only return a JSON “null”. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
Showing
- doc/rapi.rst 2 additions, 24 deletionsdoc/rapi.rst
- lib/rapi/connector.py 1 addition, 64 deletionslib/rapi/connector.py
- lib/rapi/rlib2.py 12 additions, 0 deletionslib/rapi/rlib2.py
- test/docs_unittest.py 1 addition, 1 deletiontest/docs_unittest.py
- test/ganeti.rapi.client_unittest.py 1 addition, 2 deletionstest/ganeti.rapi.client_unittest.py
- test/ganeti.rapi.resources_unittest.py 0 additions, 14 deletionstest/ganeti.rapi.resources_unittest.py
Loading
Please register or sign in to comment