From d29bef54d74499ea286cd31a714afa96f7a92920 Mon Sep 17 00:00:00 2001 From: htuch Date: Mon, 4 Dec 2017 15:52:33 -0500 Subject: [PATCH] bootstrap: relax some node constraints for fields that are set by Envoy. (#322) Signed-off-by: Harvey Tuch --- api/base.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/base.proto b/api/base.proto index f502b2f7..9d53b415 100644 --- a/api/base.proto +++ b/api/base.proto @@ -35,9 +35,9 @@ message Locality { // configuration for serving. message Node { // An opaque node identifier for the Envoy node. - string id = 1 [(validate.rules).string.min_bytes = 1]; + string id = 1; // The cluster that the Envoy node belongs to. - string cluster = 2 [(validate.rules).string.min_bytes = 1]; + string cluster = 2; // Opaque metadata extending the node identifier. Envoy will pass this // directly to the management server. google.protobuf.Struct metadata = 3;