mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 7311: Use StoragePoolVO copy constructor in deleteStoragePoolCommand
status 7311: resolved fixed
This commit is contained in:
parent
8dfd7b176e
commit
674d68fc58
@ -40,7 +40,7 @@ public class DeleteStoragePoolCommand extends Command {
|
||||
}
|
||||
|
||||
public DeleteStoragePoolCommand(StoragePoolVO pool) {
|
||||
this(pool, LOCAL_PATH_PREFIX + File.separator + UUID.nameUUIDFromBytes((pool.getHostAddress() + pool.getPath()).getBytes()));
|
||||
this(new StoragePoolVO(pool), LOCAL_PATH_PREFIX + File.separator + UUID.nameUUIDFromBytes((pool.getHostAddress() + pool.getPath()).getBytes()));
|
||||
}
|
||||
|
||||
public StoragePoolVO getPool() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user