Skip to content

Commit

Permalink
refactor: simplify code
Browse files Browse the repository at this point in the history
Signed-off-by: Shiwei Zhang <[email protected]>
  • Loading branch information
shizhMSFT committed Jan 23, 2025
1 parent 2f650d9 commit e5c8668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oci_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewOCIStoreFromFS(ctx context.Context, name string, fsys fs.FS) (*OCIStore,

// NewOCIStoreFromTar creates a new [OCIStore] from the given tarball in OCI
// image layout.
func NewOCIStoreFromTar(ctx context.Context, name string, path string) (*OCIStore, error) {
func NewOCIStoreFromTar(ctx context.Context, name, path string) (*OCIStore, error) {
store, err := oci.NewFromTar(ctx, path)
if err != nil {
return nil, err
Expand Down

0 comments on commit e5c8668

Please sign in to comment.