This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 2ba64f2521a fix removeSecondaryStorageSelector response for docs
(#9264)
2ba64f2521a is described below
commit 2ba64f2521ad3a62078f3ab1c5f26c49f8f2fb3e
Author: ahmedali6 <[email protected]>
AuthorDate: Mon Aug 19 13:39:51 2024 +0200
fix removeSecondaryStorageSelector response for docs (#9264)
Co-authored-by: Ahmed Awlaqi <[email protected]>
---
.../admin/storage/heuristics/RemoveSecondaryStorageSelectorCmd.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/heuristics/RemoveSecondaryStorageSelectorCmd.java
b/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/heuristics/RemoveSecondaryStorageSelectorCmd.java
index 79554f44782..468c87d4d99 100644
---
a/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/heuristics/RemoveSecondaryStorageSelectorCmd.java
+++
b/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/heuristics/RemoveSecondaryStorageSelectorCmd.java
@@ -27,7 +27,7 @@ import org.apache.cloudstack.api.response.SuccessResponse;
import org.apache.cloudstack.secstorage.heuristics.Heuristic;
@APICommand(name = "removeSecondaryStorageSelector", description = "Removes an
existing secondary storage selector.", since = "4.19.0", responseObject =
- SecondaryStorageHeuristicsResponse.class, requestHasSensitiveInfo =
false, entityType = {Heuristic.class}, responseHasSensitiveInfo = false,
authorized = {RoleType.Admin})
+ SuccessResponse.class, requestHasSensitiveInfo = false, entityType =
{Heuristic.class}, responseHasSensitiveInfo = false, authorized =
{RoleType.Admin})
public class RemoveSecondaryStorageSelectorCmd extends BaseCmd {
@Parameter(name = ApiConstants.ID, type = BaseCmd.CommandType.UUID,
entityType = SecondaryStorageHeuristicsResponse.class, required = true,
description = "The unique identifier of the secondary storage
selector to be removed.")