DaanHoogland commented on code in PR #12419:
URL: https://github.com/apache/cloudstack/pull/12419#discussion_r2767634731
##########
api/src/main/java/org/apache/cloudstack/api/command/admin/backup/UpdateBackupOfferingCmd.java:
##########
@@ -83,8 +83,8 @@ public Boolean getAllowUserDrivenBackups() {
public void execute() {
try {
if (StringUtils.isAllEmpty(getName(), getDescription()) &&
getAllowUserDrivenBackups() == null) {
- throw new InvalidParameterValueException(String.format("Can't
update Backup Offering [id: %s] because there are no parameters to be updated,
at least one of the " +
- "following should be informed: name, description or
allowUserDrivenBackups.", id));
+ throw new InvalidParameterValueException(String.format("Can't
update Backup Offering [id: %s] because there are no parameters to be updated,"
+
+ " at least one of the following should be informed:
name, description or allowUserDrivenBackups.", id));
Review Comment:
```suggestion
" at least one of the following should be passed:
name, description or allowUserDrivenBackups.", id));
```
??
--
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]