Skip to content

Commit 9f66d18

Browse files
author
Alena Prokharchyk
committed
CLOUDSTACK-3948: fixed createAutoscaleVmProfile - for situation when no autoscaleUserId is passed in, take it from caller user id, not caller account id
1 parent 9b7c4a6 commit 9f66d18

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎server/src/com/cloud/network/as/AutoScaleManagerImpl.java‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -338,13 +338,6 @@ public AutoScaleVmProfile createAutoScaleVmProfile(CreateAutoScaleVmProfileCmd c
338338
*/
339339
ApiDispatcher.processParameters(new DeployVMCmd(), deployParams);
340340

341-
<<<<<<< HEAD
342-
if (autoscaleUserId == null) {
343-
autoscaleUserId = CallContext.current().getCallingUserId();
344-
}
345-
346-
=======
347-
>>>>>>> a9148d9... CLOUDSTACK-3948: fixed createAutoscaleVmProfile - for situation when no autoscaleUserId is passed in, take it from caller user id, not caller account id
348341
AutoScaleVmProfileVO profileVO = new AutoScaleVmProfileVO(cmd.getZoneId(), cmd.getDomainId(), cmd.getAccountId(), cmd.getServiceOfferingId(), cmd.getTemplateId(), cmd.getOtherDeployParams(),
349342
cmd.getCounterParamList(), cmd.getDestroyVmGraceperiod(), autoscaleUserId);
350343
profileVO = checkValidityAndPersist(profileVO);

0 commit comments

Comments
 (0)