Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1103)

Unified Diff: dm/api/distributor/swarming/v1/config.pb.go

Issue 2267143002: Add additional validation to swarming v1 distributor. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@dump_all_stacks
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: dm/api/distributor/swarming/v1/config.pb.go
diff --git a/dm/api/distributor/swarming/v1/config.pb.go b/dm/api/distributor/swarming/v1/config.pb.go
index 7ff1e88f9912365cdc4ba5fb882de80473360668..812745b3e748945307fa354289014e9dcaa7d780 100644
--- a/dm/api/distributor/swarming/v1/config.pb.go
+++ b/dm/api/distributor/swarming/v1/config.pb.go
@@ -60,7 +60,7 @@ func (m *Config) GetIsolate() *Config_Isolate {
}
type Config_Swarming struct {
- Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
+ Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
}
func (m *Config_Swarming) Reset() { *m = Config_Swarming{} }
@@ -70,7 +70,7 @@ func (*Config_Swarming) Descriptor() ([]byte, []int) { return fileDescriptor0, [
type Config_Isolate struct {
// The host of the isolate service, e.g. isolateserver.appspot.com.
- Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
+ Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
// The default assumed expiration period for execution results.
Expiration *google_protobuf.Duration `protobuf:"bytes,2,opt,name=expiration" json:"expiration,omitempty"`
}
@@ -99,19 +99,19 @@ func init() {
var fileDescriptor0 = []byte{
// 232 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x8f, 0x3d, 0x4b, 0x03, 0x41,
- 0x10, 0x86, 0x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