diff --git a/cmd/gorepomod/internal/edit/editor.go b/cmd/gorepomod/internal/edit/editor.go index 2d471423f7..a6eaf8ec00 100644 --- a/cmd/gorepomod/internal/edit/editor.go +++ b/cmd/gorepomod/internal/edit/editor.go @@ -69,7 +69,7 @@ func (e *Editor) Pin(target misc.LaModule, oldV, newV semver.SemVer) error { func (e *Editor) UnPin(target misc.LaModule, oldV semver.SemVer) error { var r strings.Builder - r.WriteString(target.ImportPath()) + r.WriteString("sigs.k8s.io/kustomize/" + string(target.ShortName())) // Don't specify the old version. // r.WriteString("@") // r.WriteString(oldV.String())