Skip to content

Commit b2543ef

Browse files
author
SrikanteswaraRao Talluri
committed
CLOUDSTACK-6316: added else code in __createUserApiClient function
1 parent 2f02abf commit b2543ef

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tools/marvin/marvin/cloudstackTestClient.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,10 @@ def __createUserApiClient(self, UserName, DomainName, acctType=0):
360360
"User API Client Creation."
361361
" While Registering User Failed")
362362
return FAILED
363+
else:
364+
mgtDetails = self.__mgmtDetails
365+
mgtDetails.apiKey = apiKey
366+
mgtDetails.securityKey = securityKey
363367

364368
newUserConnection =\
365369
CSConnection(mgtDetails,

0 commit comments

Comments
 (0)