cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ustcweizhou <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-5863: revert volume snapshot f...
Date Wed, 26 Aug 2015 09:39:18 GMT
Github user ustcweizhou commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/732#discussion_r37963222
  
    --- Diff: api/src/org/apache/cloudstack/api/command/user/snapshot/RevertSnapshotCmd.java
---
    @@ -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;
     
     import com.cloud.event.EventTypes;
     import com.cloud.storage.Snapshot;
     import com.cloud.user.Account;
     
    -@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 will change it to SnapshotResponse for backward compatibility.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message