abh1sar commented on code in PR #12550:
URL: https://github.com/apache/cloudstack/pull/12550#discussion_r2751140732


##########
server/src/main/java/org/apache/cloudstack/backup/BackupManagerImpl.java:
##########
@@ -972,10 +972,11 @@ public BackupProvider getBackupProvider(final String 
name) {
         if (StringUtils.isEmpty(name)) {
             throw new CloudRuntimeException("Invalid backup provider name 
provided");
         }
-        if (!backupProvidersMap.containsKey(name)) {
+        String[] backupProviderNames = name.split(",");

Review Comment:
   I meant that validator will not allow `,` in the name, so no need for 
splitting the name by comma. We can revert to old code.



-- 
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]

Reply via email to