Skip to content

Commit a87bde0

Browse files
committed
cli/registry/client: remove deprecated RepoNameForReference
This was deprecated in 6f46cd2, which is part of v28.x, and no longer used, so we can remove it. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent df9950a commit a87bde0

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)