Skip to content

Commit

Permalink
Merge pull request #5661 from thaJeztah/27.x_backport_remove_repoinfo…
Browse files Browse the repository at this point in the history
…_class

[27.x backport] cli/trust: GetNotaryRepository: remove uses of RepositoryInfo.Class
  • Loading branch information
thaJeztah authored Dec 2, 2024
2 parents 67b6fe0 + 5a0508c commit b7064a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cli/trust/trust.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit b7064a2

Please sign in to comment.