When the pool members list is empty, gophercloud sends null object instead of empty list:
And OpenStack responses with:
{
"debuginfo": "Traceback (most recent call last):\n\n File \"/octavia/lib/python2.7/site-packages/wsmeext/pecan.py\", line 85, in callfunction\n result = f(self, *args, **kwargs)\n\n File \"/octavia/lib/python2.7/site-packages/octavia/api/v2/controllers/member.py\", line 299, in put\n member_count_diff = len(members) - len(old_members)\n\nTypeError: object of type 'NoneType' has no len()\n",
"faultcode": "Server",
"faultstring": "object of type 'NoneType' has no len()"
}
Gophercloud should send an empty list instead.