mirror of https://github.com/apache/cloudstack.git
fixed a typo
This commit is contained in:
parent
15d57cef9f
commit
8045f61cea
|
|
@ -5742,11 +5742,12 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
|||
String secondaryStorageMountPath = uri.getHost() + ":" + uri.getPath();
|
||||
|
||||
success = deleteSnapshotsDir(conn, dcId, accountId, volumeId, secondaryStorageMountPath);
|
||||
success = (details != null && details.equals("1"));
|
||||
if (success) {
|
||||
s_logger.debug("Successfully deleted snapshotsDir for volume: " + volumeId);
|
||||
details = "Successfully deleted snapshotsDir for volume: " + volumeId;
|
||||
s_logger.debug(details);
|
||||
} else {
|
||||
s_logger.debug("Failed to delete snapshotsDir for volume: " + volumeId);
|
||||
details = "Failed to delete snapshotsDir for volume: " + volumeId;
|
||||
s_logger.warn(details);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue