cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cristofolini <>
Subject [GitHub] cloudstack pull request: Fix Sync of in Swift
Date Fri, 15 Jan 2016 18:39:20 GMT
Github user cristofolini commented on a diff in the pull request:
    --- Diff: services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/
    @@ -942,6 +931,83 @@ protected Answer copyFromNfsToS3(CopyCommand cmd) {
    +    protected boolean swiftUploadMetadataFile(SwiftTO swift, File srcFile, String containerName)
throws IOException {
    +        //create a for Swift with its correct unique name
    --- End diff --
    Since you went through the trouble of cleaning up some of the code, how about you improve
it some more by turning this comment into a javadoc comment for this method, also describing
the parameters involved. 
    If you like this idea, I'd suggest going ahead and writing another javadoc comment for
the `copyFromNfsToSwift` method.
    Little things like these can go a long way to improve code readability. :)

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