We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc64cea commit 682d583Copy full SHA for 682d583
server/src/main/java/org/elasticsearch/action/admin/cluster/repositories/get/GetRepositoriesResponse.java
@@ -50,7 +50,7 @@ public class GetRepositoriesResponse extends ActionResponse implements ToXConten
50
}
51
52
public GetRepositoriesResponse(StreamInput in) throws IOException {
53
- readFrom(in);
+ repositories = new RepositoriesMetaData(in);
54
55
56
/**
@@ -65,7 +65,7 @@ public List<RepositoryMetaData> repositories() {
65
66
@Override
67
public void readFrom(StreamInput in) throws IOException {
68
- repositories = new RepositoriesMetaData(in);
+ throw new UnsupportedOperationException("usage of Streamable is to be replaced by Writeable");
69
70
71
0 commit comments