ck-dev] [glance] differences between def detail() and def
index() in glance/registry/api/v1/images.py
I assume you're using Glance client, if so, by default, when you issuing
command 'glance image-list', it will call /v1/images/detail instead of
/v1/images, you can use curl or any browser http client
Hello,
I am hitting an error and its trace passes def index ()
in glance/registry/api/v1/images.py.
I assume def index() is called by glance image-list. However, while testing
glance image-list I realized that def detail() is called
under glance/registry/api/v1/images.py instead of def index().
I assume you're using Glance client, if so, by default, when you issuing
command 'glance image-list', it will call /v1/images/detail instead of
/v1/images, you can use curl or any browser http client to see the
difference. Basically, just like the endpoint name, /v1/images/detail
will give you