Skip to content

Commit bd0a9d7

Browse files
Persist the capacityBytes and capacityIops in the storage_pool_details table while creating storage pool as well, for consistency - as these are updated with during update storage pool
1 parent a4e61e8 commit bd0a9d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/api/src/main/java/org/apache/cloudstack/engine/subsystem/api/storage/PrimaryDataStoreLifeCycle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
import com.cloud.storage.StoragePool;
2525

2626
public interface PrimaryDataStoreLifeCycle extends DataStoreLifeCycle {
27-
public static final String CAPACITY_BYTES = "capacityBytes";
28-
public static final String CAPACITY_IOPS = "capacityIops";
27+
String CAPACITY_BYTES = "capacityBytes";
28+
String CAPACITY_IOPS = "capacityIops";
2929

3030
void updateStoragePool(StoragePool storagePool, Map<String, String> details);
3131
void enableStoragePool(DataStore store);

0 commit comments

Comments
 (0)