Skip to content

Commit

Permalink
fix: added HandleWarning to clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
ktarplee committed Sep 20, 2023
1 parent 9534aab commit 4642be4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion registry/remote/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,12 @@ func (r *Repository) clone() *Repository {
Client: r.Client,
Reference: r.Reference,
PlainHTTP: r.PlainHTTP,
SkipReferrersGC: r.SkipReferrersGC,
ManifestMediaTypes: slices.Clone(r.ManifestMediaTypes),
TagListPageSize: r.TagListPageSize,
ReferrerListPageSize: r.ReferrerListPageSize,
MaxMetadataBytes: r.MaxMetadataBytes,
SkipReferrersGC: r.SkipReferrersGC,
HandleWarning: r.HandleWarning,
}
}

Expand Down

0 comments on commit 4642be4

Please sign in to comment.