Michal Skrivanek has posted comments on this change.

Change subject: Engine: Pre-started vms in vm pool display bad auditlog message
......................................................................


Patch Set 2: Code-Review+1

(1 comment)

http://gerrit.ovirt.org/#/c/35394/2/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java:

Line 568:                 if (getSucceeded()) {
Line 569:                     boolean isStateless = 
isStatelessSnapshotExistsForVm();
Line 570:                     if (isStateless) {
Line 571:                         return 
AuditLogType.VDS_INITIATED_RUN_VM_AS_STATELESS;
Line 572:                     } else if (getFlow() == 
RunVmFlow.CREATE_STATELESS_IMAGES) {
> michal, your suggestion will work only because of the check in line 562, ot
ok:)
Line 573:                         return 
AuditLogType.VDS_INITIATED_RUN_AS_STATELESS_VM_NOT_YET_RUNNING;
Line 574:                     } else {
Line 575:                         return AuditLogType.VDS_INITIATED_RUN_VM;
Line 576:                     }


-- 
To view, visit http://gerrit.ovirt.org/35394
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6ce736c1b24265a13b147ffae235428ddbd597e4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Shahar Havivi <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to