Skip to content

Commit 212deb4

Browse files
authored
Merge pull request #6373 from thaJeztah/rm_image_AuthResolver
cli/command/image: remove deprecated AuthResolver utility
2 parents 6bc7ed8 + 481e792 commit 212deb4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cli/command/image/trust.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,6 @@ func convertTarget(t client.Target) (target, error) {
211211
}, nil
212212
}
213213

214-
// AuthResolver returns an auth resolver function from a [config.Provider].
215-
//
216-
// Deprecated: this function was only used internally and will be removed in the next release.
217-
func AuthResolver(dockerCLI config.Provider) func(ctx context.Context, index *registrytypes.IndexInfo) registrytypes.AuthConfig {
218-
return authResolver(dockerCLI)
219-
}
220-
221214
// authResolver returns an auth resolver function from a [config.Provider].
222215
func authResolver(dockerCLI config.Provider) func(ctx context.Context, index *registrytypes.IndexInfo) registrytypes.AuthConfig {
223216
return func(ctx context.Context, index *registrytypes.IndexInfo) registrytypes.AuthConfig {

0 commit comments

Comments
 (0)