.. will result in calling the REST back-end twice instead of one time.
To illustrate, if we add extra debugs into the back-end server, this reveal "duplicated" REST-calls:
time="2017-03-08T21:29:18Z" level=warning msg="DBG ZOX> HTTP REST GET call on \
/v1/cluster/status?name=test for \
github.com/portworx/porx/vendor/github.com/libopenstorage/openstorage/api/server.(*clusterApi).(github.com/portworx/porx/vendor/github.com/libopenstorage/openstorage/api/server.status)-fm by 192.168.57.1:52902"
time="2017-03-08T21:29:18Z" level=warning msg="DBG ZOX> HTTP REST GET call on \
/v1/cluster/status?name=test for \
github.com/portworx/porx/vendor/github.com/libopenstorage/openstorage/api/server.(*clusterApi).(github.com/portworx/porx/vendor/github.com/libopenstorage/openstorage/api/server.status)-fm by 192.168.57.1:52902"```
A certain client-API REST call, i.e. (
NodeStatus
):.. will result in calling the REST back-end twice instead of one time.
To illustrate, if we add extra debugs into the back-end server, this reveal "duplicated" REST-calls: