From 8abae34f7ceaa2455c1698fe61f1919855d49930 Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Mon, 9 Sep 2024 09:27:13 +0200 Subject: [PATCH] Update comment --- libs/filer/workspace_files_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/filer/workspace_files_client.go b/libs/filer/workspace_files_client.go index 43b8ddab..4bb03aea 100644 --- a/libs/filer/workspace_files_client.go +++ b/libs/filer/workspace_files_client.go @@ -304,7 +304,7 @@ func (w *workspaceFilesClient) ReadDir(ctx context.Context, name string) ([]fs.D } // NOTE: This API returns a 404 if the specified path does not exist, - // but can also do so if we don't have access to write to the path. + // but can also do so if we don't have read access. if aerr.StatusCode == http.StatusNotFound { return nil, NoSuchDirectoryError{path.Dir(absPath)} }