Fix client API version.

The GBP client CLI was failing, with the following error message:
"Invalid network client version '{'network': '2.0'}'. must be one of: 2.0".
A change in the openstack SDK (>=18.0) was causing this failure in the
upstream neutron python client, which was resolved with this commit:
https://review.opendev.org/#/c/615184/

This commit makes a similar fix for the GBP python client.

Change-Id: I660c6881ef406a6d9995e2712399a3ac06ba207a
This commit is contained in:
Thomas Bachman 2020-08-28 22:28:45 +00:00
parent 591ab76904
commit f2ceef2e4c

@ -809,8 +809,6 @@ class GBPShell(app.App):
super(GBPShell, self).initialize_app(argv)
self.api_version = {'network': self.api_version}
# If the user is not asking for help, make sure they
# have given us auth.
cmd_name = None