« Previous | Next » 

Revision e0b7b1de

IDe0b7b1de4a4cd6a801475ce1f1196e6661c258dd
Parent d31e1104
Child 7b2d48ba

Added by Javi Fontan over 7 years ago

bug #2723: fix use of --user with --cluster in the cli

--cluster param needs to create a client to search for the cluster. This
happens while the parameters are being parsed so it fails if there is no
ONE_AUTH. To make it work the parameters user, password and endpoint
are saved as OneHelper class variables as soon as they are parsed. This way
they can be used to create the XMLRPC client before all parameters are parsed.

(cherry picked from commit 5ad7d82109d3e96db43a98317a8883f3d01c9623)

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences