Skip to content

Commit

Permalink
Merge pull request #317 from shaneboulden/relative-symlinks
Browse files Browse the repository at this point in the history
Use relative symlinks for disk mirroring
  • Loading branch information
openshift-merge-robot committed Mar 23, 2020
2 parents abb27a9 + 7f9d14a commit 344fe33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/image/imagesource/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func (s *fileManifestService) Put(ctx context.Context, manifest distribution.Man
for _, option := range options {
if opt, ok := option.(distribution.WithTagOption); ok {
tagPath := filepath.Join(s.r.basePath, "v2", s.r.repoPath, "manifests", opt.Tag)
if err := atomicSymlink(tagPath, manifestPath); err != nil {
if err := atomicSymlink(tagPath, dgst.String()); err != nil {
return "", err
}
}
Expand Down

0 comments on commit 344fe33

Please sign in to comment.