Skip to content

Commit

Permalink
修复Grpc反序列化不完整 (alibaba#9252)
Browse files Browse the repository at this point in the history
  • Loading branch information
karsonto authored Oct 1, 2022
1 parent f272c36 commit 5396858
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,18 @@

package com.alibaba.nacos.api.naming.remote.response;

import com.alibaba.nacos.api.remote.response.Response;

/**
* batch instance response.
*
* @author <a href="mailto:[email protected]">chenhao26</a>
*/
public class BatchInstanceResponse extends Response {

private String type;
public class BatchInstanceResponse extends InstanceResponse {

public BatchInstanceResponse() {
super();
}

public BatchInstanceResponse(String type) {
this.type = type;
}

public void setType(String type) {
this.type = type;
super(type);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@ public void setType(String type) {
this.type = type;
}

public String getType() {
return type;
}
}

0 comments on commit 5396858

Please sign in to comment.