Skip to content

Commit 27de409

Browse files
committed
cli/command/image: remove deprecated TagTrusted
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 562b504 commit 27de409

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

cli/command/image/trust.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,6 @@ func convertTarget(t client.Target) (target, error) {
206206
}, nil
207207
}
208208

209-
// TagTrusted tags a trusted ref. It is a shallow wrapper around APIClient.ImageTag
210-
// that updates the given image references to their familiar format for tagging
211-
// and printing.
212-
//
213-
// Deprecated: this function was only used internally, and will be removed in the next release.
214-
func TagTrusted(ctx context.Context, cli command.Cli, trustedRef reference.Canonical, ref reference.NamedTagged) error {
215-
return trust.TagTrusted(ctx, cli.Client(), cli.Err(), trustedRef, ref)
216-
}
217-
218209
// AuthResolver returns an auth resolver function from a command.Cli
219210
func AuthResolver(cli command.Cli) func(ctx context.Context, index *registrytypes.IndexInfo) registrytypes.AuthConfig {
220211
return func(ctx context.Context, index *registrytypes.IndexInfo) registrytypes.AuthConfig {

0 commit comments

Comments
 (0)