gpordeus commented on code in PR #8883:
URL: https://github.com/apache/cloudstack/pull/8883#discussion_r1552206130
##########
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java:
##########
@@ -4204,7 +4204,7 @@ public boolean deleteServiceOffering(final
DeleteServiceOfferingCmd cmd) {
}
if (offering.getDefaultUse()) {
- throw new InvalidParameterValueException("Default service
offerings cannot be deleted");
+ throw new InvalidParameterValueException(String.format("The system
service offerings [%s], is marked for default use and cannot be deleted",
offering.getDisplayText()));
Review Comment:
```suggestion
throw new InvalidParameterValueException(String.format("The
system service offering [%s] is marked for default use and cannot be deleted",
offering.getDisplayText()));
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]