mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2513: VPN tests refer to invalid connection.user in cloudConnection
cloudConnection object should always have "user" and "passwd" attributes. And they are "None" while creating userAPIClient. As we already have "user" and "password" for mgmt server. Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
046580fcf1
commit
4d0cea6626
|
|
@ -43,10 +43,8 @@ class cloudConnection(object):
|
|||
self.securityKey = securityKey
|
||||
self.mgtSvr = mgtSvr
|
||||
self.port = port
|
||||
if user:
|
||||
self.user = user
|
||||
if passwd:
|
||||
self.passwd = passwd
|
||||
self.user = user
|
||||
self.passwd = passwd
|
||||
self.logging = logging
|
||||
self.path = path
|
||||
self.retries = 5
|
||||
|
|
|
|||
Loading…
Reference in New Issue