[CRIU] [PATCH] images: add proto2 syntax specification to remote-image.proto

Dmitry Safonov dsafonov at virtuozzo.com
Tue Mar 7 04:55:10 PST 2017


To suppress protobuf's warning:
> [libprotobuf WARNING google/protobuf/compiler/parser.cc:546]
> No syntax specified for the proto file: remote-image.proto.
> Please use 'syntax = "proto2";' or 'syntax = "proto3";'
> to specify a syntax version. (Defaulted to proto2 syntax.)

Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 images/remote-image.proto | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/images/remote-image.proto b/images/remote-image.proto
index 1212627e3909..f6b81503a021 100644
--- a/images/remote-image.proto
+++ b/images/remote-image.proto
@@ -1,3 +1,5 @@
+syntax = "proto2";
+
 message local_image_entry {
 	required string name		= 1;
 	required string snapshot_id	= 2;
-- 
2.11.1



More information about the CRIU mailing list