Skip to content

Commit 2df4667

Browse files
authored
Merge pull request #6258 from thaJeztah/28.x_backport_remove_RepoNameForReference
[28.x backport] cli/registry/client: remove deprecated RepoNameForReference
2 parents 29f2ce7 + 6d4ffec commit 2df4667

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cli/registry/client/endpoint.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,6 @@ func getHTTPTransport(authConfig registrytypes.AuthConfig, endpoint registry.API
105105
return transport.NewTransport(base, modifiers...), nil
106106
}
107107

108-
// RepoNameForReference returns the repository name from a reference.
109-
//
110-
// Deprecated: this function is no longer used and will be removed in the next release.
111-
func RepoNameForReference(ref reference.Named) (string, error) {
112-
return reference.Path(reference.TrimNamed(ref)), nil
113-
}
114-
115108
type existingTokenHandler struct {
116109
token string
117110
}

0 commit comments

Comments
 (0)