You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewIllegalArgumentException(String.format("Unable to find storage pool with ID: %d", id));
1136
+
}
1132
1137
if (!primaryStorage.getStatus().equals(StoragePoolStatus.Up)) {
1133
1138
thrownewInvalidParameterValueException("Primary storage with id " + primaryStorage.getId() + " cannot be disabled. Storage pool state : " + primaryStorage.getStatus().toString());
thrownewIllegalArgumentException(String.format("Unable to find storage pool with ID: %d", id));
1155
+
}
1144
1156
if (!primaryStorage.getStatus().equals(StoragePoolStatus.Disabled)) {
1145
1157
thrownewInvalidParameterValueException("Primary storage with id " + primaryStorage.getId() + " cannot be enabled. Storage pool state : " + primaryStorage.getStatus().toString());
0 commit comments