Skip to content

Commit

Permalink
Move Docker Trust out of experimental
Browse files Browse the repository at this point in the history
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com>
(cherry picked from commit ac35e851e858b61b0b93167d94708b6e90e4b954)
n4ss authored and vdemeester committed Mar 14, 2018
1 parent 3d69121 commit 48712f3
Showing 3 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions components/cli/cli/command/trust/cmd.go
Original file line number Diff line number Diff line change
@@ -9,11 +9,10 @@ import (
// NewTrustCommand returns a cobra command for `trust` subcommands
func NewTrustCommand(dockerCli command.Cli) *cobra.Command {
cmd := &cobra.Command{
Use: "trust",
Short: "Manage trust on Docker images (experimental)",
Args: cli.NoArgs,
RunE: command.ShowHelp(dockerCli.Err()),
Annotations: map[string]string{"experimentalCLI": ""},
Use: "trust",
Short: "Manage trust on Docker images",
Args: cli.NoArgs,
RunE: command.ShowHelp(dockerCli.Err()),
}
cmd.AddCommand(
newRevokeCommand(dockerCli),
2 changes: 1 addition & 1 deletion components/cli/cli/command/trust/key.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ import (
func newTrustKeyCommand(dockerCli command.Streams) *cobra.Command {
cmd := &cobra.Command{
Use: "key",
Short: "Manage keys for signing Docker images (experimental)",
Short: "Manage keys for signing Docker images",
Args: cli.NoArgs,
RunE: command.ShowHelp(dockerCli.Err()),
}
2 changes: 1 addition & 1 deletion components/cli/cli/command/trust/signer.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ import (
func newTrustSignerCommand(dockerCli command.Cli) *cobra.Command {
cmd := &cobra.Command{
Use: "signer",
Short: "Manage entities who can sign Docker images (experimental)",
Short: "Manage entities who can sign Docker images",
Args: cli.NoArgs,
RunE: command.ShowHelp(dockerCli.Err()),
}

0 comments on commit 48712f3

Please sign in to comment.