Skip to content

Commit 5f9554a

Browse files
committed
fbackward compatibility for unpin
1 parent 9f0693d commit 5f9554a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gorepomod/internal/edit/editor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (e *Editor) Pin(target misc.LaModule, oldV, newV semver.SemVer) error {
6969

7070
func (e *Editor) UnPin(target misc.LaModule, oldV semver.SemVer) error {
7171
var r strings.Builder
72-
r.WriteString(target.ImportPath())
72+
r.WriteString("sigs.k8s.io/kustomize/" + string(target.ShortName()))
7373
// Don't specify the old version.
7474
// r.WriteString("@")
7575
// r.WriteString(oldV.String())

0 commit comments

Comments
 (0)