mirror of https://github.com/apache/cloudstack.git
Expose getPrimaryDataStore(String uuid) through the DatastoreManager interface so it can be used clients.
This commit is contained in:
parent
a9413707c9
commit
bb8f8fb20b
|
|
@ -27,6 +27,8 @@ public interface DataStoreManager {
|
|||
|
||||
DataStore getPrimaryDataStore(long storeId);
|
||||
|
||||
DataStore getPrimaryDataStore(String storeUuid);
|
||||
|
||||
DataStore getDataStore(String uuid, DataStoreRole role);
|
||||
|
||||
List<DataStore> getImageStoresByScope(ZoneScope scope);
|
||||
|
|
|
|||
|
|
@ -87,6 +87,11 @@ public class DataStoreManagerImpl implements DataStoreManager {
|
|||
return primaryStoreMgr.getPrimaryDataStore(storeId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataStore getPrimaryDataStore(String storeUuid) {
|
||||
return primaryStoreMgr.getPrimaryDataStore(storeUuid);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<DataStore> getImageCacheStores(Scope scope) {
|
||||
return imageDataStoreMgr.listImageCacheStores(scope);
|
||||
|
|
|
|||
Loading…
Reference in New Issue