Skip to content

Commit 7012147

Browse files
winterhazelCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent d11afd7 commit 7012147

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/com/cloud/server/ManagementServerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ protected void validateEventOperationParameters(List<Long> ids, String type, Dat
12801280
throw new InvalidParameterValueException("Either 'ids', 'type' or 'enddate' must be specified.");
12811281
}
12821282
if (startDate != null && endDate == null) {
1283-
throw new InvalidParameterValueException("'startdate' must be specified with 'enddate' parameter.");
1283+
throw new InvalidParameterValueException("'enddate' must be specified when 'startdate' parameter is provided.");
12841284
}
12851285
}
12861286

0 commit comments

Comments
 (0)