From fba6e0a62556a83d2cc5d022683f6d8c2b3f3889 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Sun, 11 Dec 2016 18:20:41 +0100 Subject: [PATCH] CRI: fix ImageStatus comment Signed-off-by: Antonio Murdaca --- pkg/kubelet/api/v1alpha1/runtime/api.pb.go | 6 ++++-- pkg/kubelet/api/v1alpha1/runtime/api.proto | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pkg/kubelet/api/v1alpha1/runtime/api.pb.go b/pkg/kubelet/api/v1alpha1/runtime/api.pb.go index c15bc0463a2..3d2a4b9ef07 100644 --- a/pkg/kubelet/api/v1alpha1/runtime/api.pb.go +++ b/pkg/kubelet/api/v1alpha1/runtime/api.pb.go @@ -3675,7 +3675,8 @@ type ImageServiceClient interface { // ListImages lists existing images. ListImages(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error) // ImageStatus returns the status of the image. If the image is not - // present, returns nil. + // present, returns a response with ImageStatusResponse.Image set to + // nil. ImageStatus(ctx context.Context, in *ImageStatusRequest, opts ...grpc.CallOption) (*ImageStatusResponse, error) // PullImage pulls an image with authentication config. PullImage(ctx context.Context, in *PullImageRequest, opts ...grpc.CallOption) (*PullImageResponse, error) @@ -3735,7 +3736,8 @@ type ImageServiceServer interface { // ListImages lists existing images. ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error) // ImageStatus returns the status of the image. If the image is not - // present, returns nil. + // present, returns a response with ImageStatusResponse.Image set to + // nil. ImageStatus(context.Context, *ImageStatusRequest) (*ImageStatusResponse, error) // PullImage pulls an image with authentication config. PullImage(context.Context, *PullImageRequest) (*PullImageResponse, error) diff --git a/pkg/kubelet/api/v1alpha1/runtime/api.proto b/pkg/kubelet/api/v1alpha1/runtime/api.proto index a34b52d39e4..d7ee19564bc 100644 --- a/pkg/kubelet/api/v1alpha1/runtime/api.proto +++ b/pkg/kubelet/api/v1alpha1/runtime/api.proto @@ -71,7 +71,8 @@ service ImageService { // ListImages lists existing images. rpc ListImages(ListImagesRequest) returns (ListImagesResponse) {} // ImageStatus returns the status of the image. If the image is not - // present, returns nil. + // present, returns a response with ImageStatusResponse.Image set to + // nil. rpc ImageStatus(ImageStatusRequest) returns (ImageStatusResponse) {} // PullImage pulls an image with authentication config. rpc PullImage(PullImageRequest) returns (PullImageResponse) {}