Skip to content

Commit 45c0ebe

Browse files
committed
cli/command/image: remove deprecated TagTrusted
This function was only used internally, and has no known external consumers. It was deprecated in e37d814; this commit removes it. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent db67900 commit 45c0ebe

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cli/command/image/trust.go

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

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

0 commit comments

Comments
 (0)