Skip to content

Commit 9e86cfe

Browse files
authored
Fix doc comment (#1208)
Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent cc449de commit 9e86cfe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

internal/catalogmetadata/client/client.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ import (
1717
// catalog contents from catalogd.
1818
type Fetcher interface {
1919
// FetchCatalogContents fetches contents from the catalogd HTTP
20-
// server for the catalog provided. It returns an io.ReadCloser
21-
// containing the FBC contents that the caller is expected to close.
22-
// returns an error if any occur.
20+
// server for the catalog provided. It returns a fs.FS containing the FBC contents.
21+
// Each sub directory contains FBC for a single package
22+
// and the directory name is package name.
23+
// Returns an error if any occur.
2324
FetchCatalogContents(ctx context.Context, catalog *catalogd.ClusterCatalog) (fs.FS, error)
2425
}
2526

0 commit comments

Comments
 (0)