Skip to content

Commit c2586d6

Browse files
authored
Merge pull request #6206 from thaJeztah/remove_RepoNameForReference
cli/registry/client: remove deprecated RepoNameForReference
2 parents df9950a + a87bde0 commit c2586d6

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)