mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	Adding support for creating a volume from a snapshot when the snapshot is on managed storage
This commit is contained in:
		
							parent
							
								
									664186f483
								
							
						
					
					
						commit
						2094286c8a
					
				| @ -152,11 +152,13 @@ public class StorageSystemDataMotionStrategy implements DataMotionStrategy { | ||||
|                 } | ||||
| 
 | ||||
|                 if (canHandleSrc) { | ||||
|                     // return handleCreateVolumeFromSnapshotOnlySourceOnStorageSystem(); | ||||
|                     throw new UnsupportedOperationException("This operation is not supported (DataStoreCapabilities.STORAGE_SYSTEM_SNAPSHOT " + | ||||
|                             "not supported by destination storage plug-in)."); | ||||
|                 } | ||||
| 
 | ||||
|                 if (canHandleDest) { | ||||
|                     // return handleCreateVolumeFromSnapshotOnlyDestinationOnStorageSystem(); | ||||
|                     throw new UnsupportedOperationException("This operation is not supported (DataStoreCapabilities.STORAGE_SYSTEM_SNAPSHOT " + | ||||
|                             "not supported by source storage plug-in)."); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user