Skip to content

Commit

Permalink
chore: using const to replace string (oras-project#1316)
Browse files Browse the repository at this point in the history
Signed-off-by: rick <[email protected]>
Co-authored-by: rick <[email protected]>
Co-authored-by: Terry Howe <[email protected]>
  • Loading branch information
3 people authored and FeynmanZhou committed May 11, 2024
1 parent 210aaf4 commit 44677ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/root/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func doPull(ctx context.Context, src oras.ReadOnlyTarget, dst oras.GraphTarget,
promptDownloaded = "Downloaded "
)

dst, err = getTrackedTarget(dst, po.TTY, "Downloading", "Pulled ")
dst, err = getTrackedTarget(dst, po.TTY, "Downloading", promptPulled)
if err != nil {
return ocispec.Descriptor{}, false, err
}
Expand Down

0 comments on commit 44677ea

Please sign in to comment.