Skip to content

Commit daa3b01

Browse files
committed
Use the same ExporterResponse type for cache exporter responses
Signed-off-by: a-palchikov <deemok@gmail.com>
1 parent e55a197 commit daa3b01

File tree

6 files changed

+436
-1039
lines changed

6 files changed

+436
-1039
lines changed

api/services/control/control.pb.go

Lines changed: 408 additions & 522 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/services/control/control.proto

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ message SolveResponse {
111111
// populated as long as it is supported.
112112
map<string, string> ExporterResponseDeprecated = 1;
113113
repeated ExporterResponse exporterResponses = 2;
114-
repeated CacheExporterResponse cacheExporterResponses = 3;
114+
repeated ExporterResponse cacheExporterResponses = 3;
115115
}
116116

117117
message StatusRequest {
@@ -268,18 +268,6 @@ message ExporterResponse {
268268
message ExporterMetadata {
269269
// ID identifies the exporter
270270
string ID = 1;
271-
}
272-
273-
// CacheExporterResponse describes the output of an exporter
274-
message CacheExporterResponse {
275-
// Metadata describes the exporter
276-
CacheExporterMetadata metadata = 1;
277-
// Data is the exporter's output
278-
map<string, string> data = 2;
279-
}
280-
281-
// CacheExporterMetadata describes the cache exporter
282-
message CacheExporterMetadata {
283-
// Name uniquely identifies the exporter
284-
string name = 1;
271+
// Type identifies the exporter type
272+
string type = 2;
285273
}

0 commit comments

Comments
 (0)