From 5a4c4f4f2e867ead4b5f7d33b957143b5a8ff270 Mon Sep 17 00:00:00 2001 From: Evgenii Baidakov Date: Fri, 16 Jun 2023 11:43:26 +0400 Subject: [PATCH] waiter: Update documentation Signed-off-by: Evgenii Baidakov --- waiter/container_delete.go | 2 +- waiter/container_eacl.go | 2 +- waiter/container_put.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/waiter/container_delete.go b/waiter/container_delete.go index 0824d273..e346c6e2 100644 --- a/waiter/container_delete.go +++ b/waiter/container_delete.go @@ -37,7 +37,7 @@ func (w *ContainerDeleteWaiter) SetPollInterval(interval time.Duration) { // ContainerDelete sends request to remove the NeoFS container. // -// See documentation for function in [client.Client.ContainerDelete]. +// ContainerDelete uses ContainerDeleteExecutor to delete and check the container is deleted. func (w ContainerDeleteWaiter) ContainerDelete(ctx context.Context, id cid.ID, prm client.PrmContainerDelete) error { if err := w.executor.ContainerDelete(ctx, id, prm); err != nil { return fmt.Errorf("delete: %w", err) diff --git a/waiter/container_eacl.go b/waiter/container_eacl.go index e8010440..43a1cb61 100644 --- a/waiter/container_eacl.go +++ b/waiter/container_eacl.go @@ -38,7 +38,7 @@ func (w *ContainerSetEACLWaiter) SetPollInterval(interval time.Duration) { // ContainerSetEACL sends request to update eACL table of the NeoFS container. // -// See documentation for function in [client.Client.ContainerSetEACL]. +// ContainerSetEACL uses ContainerSetEACLExecutor to setEacl and check the eacl is set. func (w ContainerSetEACLWaiter) ContainerSetEACL(ctx context.Context, table eacl.Table, prm client.PrmContainerSetEACL) error { if err := w.executor.ContainerSetEACL(ctx, table, prm); err != nil { return fmt.Errorf("container setEacl: %w", err) diff --git a/waiter/container_put.go b/waiter/container_put.go index 41ff5214..766d974b 100644 --- a/waiter/container_put.go +++ b/waiter/container_put.go @@ -37,7 +37,7 @@ func (w *ContainerPutWaiter) SetPollInterval(interval time.Duration) { // ContainerPut sends request to save container in NeoFS. // -// See documentation for function in [client.Client.ContainerPut]. +// ContainerPut uses ContainerPutExecutor to create container and check the container is created. func (w ContainerPutWaiter) ContainerPut(ctx context.Context, cont container.Container, prm client.PrmContainerPut) (cid.ID, error) { id, err := w.executor.ContainerPut(ctx, cont, prm) if err != nil {