CLOUDSTACK-9990 : Fix for Account name is giving null in event tab after successful creation of account (#2171)

This commit is contained in:
pavanaravapalli 2017-07-28 23:25:00 +05:30 committed by Rohit Yadav
parent a4cecd2366
commit 08a6c24efc
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ public class CreateAccountCmd extends BaseCmd {
@Override
public void execute() {
validateParams();
CallContext.current().setEventDetails("Account Name: " + getAccountName() + ", Domain Id:" + getDomainId());
CallContext.current().setEventDetails("Account Name: " + getUsername() + ", Domain Id:" + getDomainId());
UserAccount userAccount =
_accountService.createUserAccount(getUsername(), getPassword(), getFirstName(), getLastName(), getEmail(), getTimeZone(), getAccountName(), getAccountType(), getRoleId(),
getDomainId(), getNetworkDomain(), getDetails(), getAccountUUID(), getUserUUID());