DaanHoogland commented on a change in pull request #2512: Only use the host if 
its Resource State is Enabled.
URL: https://github.com/apache/cloudstack/pull/2512#discussion_r177386106
 
 

 ##########
 File path: 
engine/storage/snapshot/src/main/java/org/apache/cloudstack/storage/snapshot/StorageSystemSnapshotStrategy.java
 ##########
 @@ -484,7 +483,7 @@ else if (volumeInfo.getFormat() == ImageFormat.OVA || 
volumeInfo.getFormat() ==
         }
 
         SnapshotResult result = null;
-        SnapshotInfo snapshotOnPrimary = null;
+        SnapshotInfo snapshotOnPrimary;
 
 Review comment:
   how is this, @nitin-maharana?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to