Merge pull request #5660 from thaJeztah/remove_repoinfo_class

This commit is contained in:
Laura Brehm 2024-12-02 13:51:47 +01:00 committed by GitHub
commit 5afa739692
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,7 +157,6 @@ func GetNotaryRepository(in io.Reader, out io.Writer, userAgent string, repoInfo
scope := auth.RepositoryScope{
Repository: repoInfo.Name.Name(),
Actions: actions,
Class: repoInfo.Class, // TODO(thaJeztah): Class is no longer needed for plugins and can likely be removed; see https://github.com/docker/cli/pull/4114#discussion_r1145430825
}
creds := simpleCredentialStore{auth: *authConfig}
tokenHandlerOptions := auth.TokenHandlerOptions{