cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaanHoogland <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8848: ensure power state is up...
Date Wed, 30 Sep 2015 09:05:43 GMT
Github user DaanHoogland commented on a diff in the pull request:
    --- Diff: engine/schema/src/com/cloud/vm/dao/ ---
    @@ -805,6 +805,12 @@ public Boolean doInTransaction(TransactionStatus status) {
    +    public boolean isPowerStateUpToDate(final long instanceId) {
    +        VMInstanceVO instance = findById(instanceId);
    +        return instance.getPowerStateUpdateCount() < MAX_CONSECUTIVE_SAME_STATE_UPDATE_COUNT;
    --- End diff --
    Are we sure instance in not null at this point?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message