Skip to content

Commit

Permalink
fix(sync/remote): make linter happier
Browse files Browse the repository at this point in the history
Signed-off-by: a <[email protected]>
  • Loading branch information
elee1766 committed Nov 18, 2023
1 parent f91c8af commit e30edbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/extensions/sync/destination.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewDestinationRegistry(
// to allow passing nil we can do this, noting that it will only work for a local StoreController
tmpStorage = NewOciLayoutStorage(storeController)
}

return &DestinationRegistry{
storeController: storeController,
metaDB: metaDB,
Expand Down
5 changes: 4 additions & 1 deletion pkg/extensions/sync/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,10 @@ func (service *BaseService) SyncRepo(ctx context.Context, repo string) error {
return nil
}

func (service *BaseService) syncTag(ctx context.Context, destinationRepo, remoteRepo, tag string) (digest.Digest, error) {
func (service *BaseService) syncTag(
ctx context.Context,
destinationRepo, remoteRepo, tag string,
) (digest.Digest, error) {
copyOptions := getCopyOptions(service.remote.GetContext(), service.destination.GetContext())

policyContext, err := getPolicyContext(service.log)
Expand Down

0 comments on commit e30edbd

Please sign in to comment.