mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Create interface that clients that talk to the api must fulfill.
Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
parent
a413be3392
commit
8b15839ee8
29 changed files with 283 additions and 208 deletions
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/docker/distribution/reference"
|
||||
"github.com/docker/docker/api/client/lib"
|
||||
"github.com/docker/docker/api/types"
|
||||
Cli "github.com/docker/docker/cli"
|
||||
"github.com/docker/docker/opts"
|
||||
flag "github.com/docker/docker/pkg/mflag"
|
||||
|
@ -56,7 +56,7 @@ func (cli *DockerCli) CmdCommit(args ...string) error {
|
|||
}
|
||||
}
|
||||
|
||||
options := lib.ContainerCommitOptions{
|
||||
options := types.ContainerCommitOptions{
|
||||
ContainerID: name,
|
||||
RepositoryName: repositoryName,
|
||||
Tag: tag,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue