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

Andrei Vagin avagin at virtuozzo.com
Tue Mar 7 10:31:11 PST 2017


Applied
On Tue, Mar 07, 2017 at 03:55:10PM +0300, Dmitry Safonov wrote:
> 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
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list