mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Replace api/client imports with cli/command in experimental files.
Using git grep -l 'client\.DockerCli' cli/command/stack/ | xargs sed -i -e 's/client\.DockerCli/command\.Dockercli/g' Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
		
							parent
							
								
									0640a14b4f
								
							
						
					
					
						commit
						9c2b935812
					
				
					 19 changed files with 59 additions and 59 deletions
				
			
		|  | @ -7,13 +7,13 @@ import ( | |||
| 
 | ||||
| 	"golang.org/x/net/context" | ||||
| 
 | ||||
| 	"github.com/docker/docker/api/client" | ||||
| 	"github.com/docker/docker/cli" | ||||
| 	"github.com/docker/docker/cli/command" | ||||
| 	"github.com/docker/docker/reference" | ||||
| 	"github.com/spf13/cobra" | ||||
| ) | ||||
| 
 | ||||
| func newSetCommand(dockerCli *client.DockerCli) *cobra.Command { | ||||
| func newSetCommand(dockerCli *command.DockerCli) *cobra.Command { | ||||
| 	cmd := &cobra.Command{ | ||||
| 		Use:   "set PLUGIN key1=value1 [key2=value2...]", | ||||
| 		Short: "Change settings for a plugin", | ||||
|  | @ -26,7 +26,7 @@ func newSetCommand(dockerCli *client.DockerCli) *cobra.Command { | |||
| 	return cmd | ||||
| } | ||||
| 
 | ||||
| func runSet(dockerCli *client.DockerCli, name string, args []string) error { | ||||
| func runSet(dockerCli *command.DockerCli, name string, args []string) error { | ||||
| 	named, err := reference.ParseNamed(name) // FIXME: validate | ||||
| 	if err != nil { | ||||
| 		return err | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Daniel Nephin
						Daniel Nephin