From 7e42dc34d4ca1c4a83c89a4c51891421f3dbb0e6 Mon Sep 17 00:00:00 2001 From: fahed dorgaa Date: Tue, 9 May 2023 20:15:53 +0200 Subject: [PATCH] improve container Task comment Signed-off-by: fahed dorgaa --- container.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/container.go b/container.go index 7863b742b..f2fd83fd6 100644 --- a/container.go +++ b/container.go @@ -61,8 +61,13 @@ type Container interface { Spec(context.Context) (*oci.Spec, error) // Task returns the current task for the container // + // If cio.Load options are passed the client will Load the IO for the running + // task. + // // If cio.Attach options are passed the client will reattach to the IO for the running - // task. If no task exists for the container a NotFound error is returned + // task. + // + // If no task exists for the container a NotFound error is returned // // Clients must make sure that only one reader is attached to the task and consuming // the output from the task's fifos