From 385f6ed04b8912afde9e3406217fd6de2df5b14e Mon Sep 17 00:00:00 2001 From: anthony Date: Thu, 5 May 2011 14:35:26 -0700 Subject: [PATCH] typo fix --- server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java b/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java index eaf95e6aee1..5bc71439df5 100755 --- a/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java +++ b/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java @@ -262,7 +262,7 @@ public class SnapshotManagerImpl implements SnapshotManager, SnapshotService, Ma // Update the snapshot in the database if ((answer != null) && answer.getResult()) { // The snapshot was successfully created - if (preSnapshotPath != null && preSnapshotPath == answer.getSnapshotPath()) { + if (preSnapshotPath != null && preSnapshotPath.equals(answer.getSnapshotPath())) { // empty snapshot s_logger.debug("CreateSnapshot: this is empty snapshot "); snapshot.setPath(preSnapshotPath);