cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhaisaab <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-5863: revert volume snapshot f...
Date Tue, 25 Aug 2015 11:25:19 GMT
Github user bhaisaab commented on a diff in the pull request:
    --- Diff: api/src/org/apache/cloudstack/api/command/user/snapshot/
    @@ -31,25 +31,36 @@
     import org.apache.cloudstack.api.response.SnapshotResponse;
     import org.apache.cloudstack.api.response.SuccessResponse;
     import org.apache.cloudstack.context.CallContext;
    +import org.apache.log4j.Logger;
    -@APICommand(name = "revertSnapshot", description = "revert a volume snapshot.", responseObject
= SnapshotResponse.class, entityType = {Snapshot.class},
    +@APICommand(name = "revertSnapshot", description = "revert a volume snapshot.", responseObject
= SuccessResponse.class, entityType = {Snapshot.class},
    --- End diff --
    I think for API backward compatibility, please revert this to send SnapshotResponse as
the responseobject, unless this really needs to be fixed (the older implementation got it
wrong). Please comment.

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