This is an automated email from the ASF dual-hosted git repository.
weizhou pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.19 by this push:
new 7978141464c api: fix EntityReference in NetworkResponse.java (#10563)
7978141464c is described below
commit 7978141464c60ac7f7a2fc7f29ed10b1108b6547
Author: Wei Zhou <[email protected]>
AuthorDate: Tue Mar 18 09:20:50 2025 +0100
api: fix EntityReference in NetworkResponse.java (#10563)
---
.../main/java/org/apache/cloudstack/api/response/NetworkResponse.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/api/src/main/java/org/apache/cloudstack/api/response/NetworkResponse.java
b/api/src/main/java/org/apache/cloudstack/api/response/NetworkResponse.java
index 24f76215d09..d18c0e1266a 100644
--- a/api/src/main/java/org/apache/cloudstack/api/response/NetworkResponse.java
+++ b/api/src/main/java/org/apache/cloudstack/api/response/NetworkResponse.java
@@ -27,12 +27,11 @@ import
org.apache.cloudstack.api.BaseResponseWithAssociatedNetwork;
import org.apache.cloudstack.api.EntityReference;
import com.cloud.network.Network;
-import com.cloud.projects.ProjectAccount;
import com.cloud.serializer.Param;
import com.google.gson.annotations.SerializedName;
@SuppressWarnings("unused")
-@EntityReference(value = {Network.class, ProjectAccount.class})
+@EntityReference(value = {Network.class})
public class NetworkResponse extends BaseResponseWithAssociatedNetwork
implements ControlledEntityResponse, SetResourceIconResponse {
@SerializedName(ApiConstants.ID)