From 9df37c23e4cdebcd3c37bc5448b583302133cb15 Mon Sep 17 00:00:00 2001 From: Harry Zhang Date: Thu, 14 Jul 2016 17:02:34 +0800 Subject: [PATCH] Fix wrong field name Signed-off-by: Harry Zhang --- api/grpc/types/api.proto | 4 ++-- ctr/checkpoint.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/grpc/types/api.proto b/api/grpc/types/api.proto index d1b19b6..1705101 100644 --- a/api/grpc/types/api.proto +++ b/api/grpc/types/api.proto @@ -187,7 +187,7 @@ message StateResponse { message UpdateContainerRequest { string id = 1; // ID of container string pid = 2; - string status = 3; // Status to whcih containerd will try to change + string status = 3; // Status to which containerd will try to change UpdateResource resources =4; } @@ -283,7 +283,7 @@ message BlkioStatsEntry { } message BlkioStats { - repeated BlkioStatsEntry io_service_bytes_recursive = 1; // number of bytes tranferred to and from the block device + repeated BlkioStatsEntry io_service_bytes_recursive = 1; // number of bytes transferred to and from the block device repeated BlkioStatsEntry io_serviced_recursive = 2; repeated BlkioStatsEntry io_queued_recursive = 3; repeated BlkioStatsEntry io_service_time_recursive = 4; diff --git a/ctr/checkpoint.go b/ctr/checkpoint.go index eac3692..71c0a04 100644 --- a/ctr/checkpoint.go +++ b/ctr/checkpoint.go @@ -79,7 +79,7 @@ var createCheckpointCommand = cli.Command{ }, cli.BoolFlag{ Name: "unix-sockets", - Usage: "perist unix sockets", + Usage: "persist unix sockets", }, cli.BoolFlag{ Name: "exit",