From 081b24f4c133c9ab9a187f595953a17652955ed3 Mon Sep 17 00:00:00 2001 From: Kim Mason Date: Wed, 18 Sep 2024 13:55:39 -0600 Subject: [PATCH] Minor code style cleanup. --- go/cmd/ocitool/imagelayout_cmd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go/cmd/ocitool/imagelayout_cmd.go b/go/cmd/ocitool/imagelayout_cmd.go index c197721..cc6a462 100644 --- a/go/cmd/ocitool/imagelayout_cmd.go +++ b/go/cmd/ocitool/imagelayout_cmd.go @@ -48,13 +48,14 @@ func getLayoutFilesBlobIndex(layoutFilePaths []string, relPath string) (blob.Ind if err != nil { return blob.Index{}, err } - } return result, nil } // This command creates an OCI Image Layout directory based on the layout parameter. +// The layout-files parameter contains a list of files that are used as blobs +// when referenced by desriptors in the layout parameter. // See https://github.com/opencontainers/image-spec/blob/main/image-layout.md // for the structure of OCI Image Layout directories. func CreateOciImageLayoutCmd(c *cli.Context) error {