mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Mass gofmt
Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
This commit is contained in:
		
							parent
							
								
									b99dcb3c7e
								
							
						
					
					
						commit
						ee7dd44c01
					
				
					 32 changed files with 32 additions and 32 deletions
				
			
		| 
						 | 
					@ -6,10 +6,10 @@ import (
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/pkg/ioutils"
 | 
						"github.com/docker/docker/pkg/ioutils"
 | 
				
			||||||
	"github.com/docker/docker/pkg/jsonlog"
 | 
						"github.com/docker/docker/pkg/jsonlog"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/pkg/promise"
 | 
						"github.com/docker/docker/pkg/promise"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,6 +17,7 @@ import (
 | 
				
			||||||
	"github.com/docker/libcontainer/devices"
 | 
						"github.com/docker/libcontainer/devices"
 | 
				
			||||||
	"github.com/docker/libcontainer/label"
 | 
						"github.com/docker/libcontainer/label"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/daemon/execdriver"
 | 
						"github.com/docker/docker/daemon/execdriver"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/image"
 | 
						"github.com/docker/docker/image"
 | 
				
			||||||
| 
						 | 
					@ -25,7 +26,6 @@ import (
 | 
				
			||||||
	"github.com/docker/docker/pkg/archive"
 | 
						"github.com/docker/docker/pkg/archive"
 | 
				
			||||||
	"github.com/docker/docker/pkg/broadcastwriter"
 | 
						"github.com/docker/docker/pkg/broadcastwriter"
 | 
				
			||||||
	"github.com/docker/docker/pkg/ioutils"
 | 
						"github.com/docker/docker/pkg/ioutils"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/pkg/networkfs/etchosts"
 | 
						"github.com/docker/docker/pkg/networkfs/etchosts"
 | 
				
			||||||
	"github.com/docker/docker/pkg/networkfs/resolvconf"
 | 
						"github.com/docker/docker/pkg/networkfs/resolvconf"
 | 
				
			||||||
	"github.com/docker/docker/pkg/promise"
 | 
						"github.com/docker/docker/pkg/promise"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,10 +3,10 @@
 | 
				
			||||||
package daemon
 | 
					package daemon
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/daemon/graphdriver"
 | 
						"github.com/docker/docker/daemon/graphdriver"
 | 
				
			||||||
	"github.com/docker/docker/daemon/graphdriver/aufs"
 | 
						"github.com/docker/docker/daemon/graphdriver/aufs"
 | 
				
			||||||
	"github.com/docker/docker/graph"
 | 
						"github.com/docker/docker/graph"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Given the graphdriver ad, if it is aufs, then migrate it.
 | 
					// Given the graphdriver ad, if it is aufs, then migrate it.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,8 +5,8 @@ import (
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
	"path"
 | 
						"path"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (daemon *Daemon) ContainerRm(job *engine.Job) engine.Status {
 | 
					func (daemon *Daemon) ContainerRm(job *engine.Job) engine.Status {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,12 +9,12 @@ import (
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
	"sync"
 | 
						"sync"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/daemon/execdriver"
 | 
						"github.com/docker/docker/daemon/execdriver"
 | 
				
			||||||
	"github.com/docker/docker/daemon/execdriver/lxc"
 | 
						"github.com/docker/docker/daemon/execdriver/lxc"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/pkg/broadcastwriter"
 | 
						"github.com/docker/docker/pkg/broadcastwriter"
 | 
				
			||||||
	"github.com/docker/docker/pkg/ioutils"
 | 
						"github.com/docker/docker/pkg/ioutils"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/pkg/promise"
 | 
						"github.com/docker/docker/pkg/promise"
 | 
				
			||||||
	"github.com/docker/docker/runconfig"
 | 
						"github.com/docker/docker/runconfig"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,8 +17,8 @@ import (
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/kr/pty"
 | 
						"github.com/kr/pty"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/daemon/execdriver"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/daemon/execdriver"
 | 
				
			||||||
	"github.com/docker/docker/pkg/term"
 | 
						"github.com/docker/docker/pkg/term"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
	"github.com/docker/libcontainer/cgroups"
 | 
						"github.com/docker/libcontainer/cgroups"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -30,9 +30,9 @@ import (
 | 
				
			||||||
	"sync"
 | 
						"sync"
 | 
				
			||||||
	"syscall"
 | 
						"syscall"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/daemon/graphdriver"
 | 
						"github.com/docker/docker/daemon/graphdriver"
 | 
				
			||||||
	"github.com/docker/docker/pkg/archive"
 | 
						"github.com/docker/docker/pkg/archive"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	mountpk "github.com/docker/docker/pkg/mount"
 | 
						mountpk "github.com/docker/docker/pkg/mount"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
	"github.com/docker/libcontainer/label"
 | 
						"github.com/docker/libcontainer/label"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,8 +18,8 @@ import (
 | 
				
			||||||
	"syscall"
 | 
						"syscall"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/daemon/graphdriver"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/daemon/graphdriver"
 | 
				
			||||||
	"github.com/docker/docker/pkg/parsers"
 | 
						"github.com/docker/docker/pkg/parsers"
 | 
				
			||||||
	"github.com/docker/docker/pkg/units"
 | 
						"github.com/docker/docker/pkg/units"
 | 
				
			||||||
	"github.com/docker/libcontainer/label"
 | 
						"github.com/docker/libcontainer/label"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,8 +8,8 @@ import (
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
	"path"
 | 
						"path"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/daemon/graphdriver"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/daemon/graphdriver"
 | 
				
			||||||
	"github.com/docker/docker/pkg/mount"
 | 
						"github.com/docker/docker/pkg/mount"
 | 
				
			||||||
	"github.com/docker/docker/pkg/units"
 | 
						"github.com/docker/docker/pkg/units"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,9 +4,9 @@ import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/pkg/archive"
 | 
						"github.com/docker/docker/pkg/archive"
 | 
				
			||||||
	"github.com/docker/docker/pkg/ioutils"
 | 
						"github.com/docker/docker/pkg/ioutils"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,9 +4,9 @@ import (
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
	"runtime"
 | 
						"runtime"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/dockerversion"
 | 
						"github.com/docker/docker/dockerversion"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/pkg/parsers/kernel"
 | 
						"github.com/docker/docker/pkg/parsers/kernel"
 | 
				
			||||||
	"github.com/docker/docker/pkg/parsers/operatingsystem"
 | 
						"github.com/docker/docker/pkg/parsers/operatingsystem"
 | 
				
			||||||
	"github.com/docker/docker/registry"
 | 
						"github.com/docker/docker/registry"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,9 +8,9 @@ import (
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
	"strconv"
 | 
						"strconv"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/pkg/jsonlog"
 | 
						"github.com/docker/docker/pkg/jsonlog"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/pkg/tailfile"
 | 
						"github.com/docker/docker/pkg/tailfile"
 | 
				
			||||||
	"github.com/docker/docker/pkg/timeutils"
 | 
						"github.com/docker/docker/pkg/timeutils"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,8 +6,8 @@ import (
 | 
				
			||||||
	"sync"
 | 
						"sync"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/daemon/execdriver"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/daemon/execdriver"
 | 
				
			||||||
	"github.com/docker/docker/runconfig"
 | 
						"github.com/docker/docker/runconfig"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,13 +8,13 @@ import (
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
	"sync"
 | 
						"sync"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/daemon/networkdriver"
 | 
						"github.com/docker/docker/daemon/networkdriver"
 | 
				
			||||||
	"github.com/docker/docker/daemon/networkdriver/ipallocator"
 | 
						"github.com/docker/docker/daemon/networkdriver/ipallocator"
 | 
				
			||||||
	"github.com/docker/docker/daemon/networkdriver/portallocator"
 | 
						"github.com/docker/docker/daemon/networkdriver/portallocator"
 | 
				
			||||||
	"github.com/docker/docker/daemon/networkdriver/portmapper"
 | 
						"github.com/docker/docker/daemon/networkdriver/portmapper"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/pkg/iptables"
 | 
						"github.com/docker/docker/pkg/iptables"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/pkg/networkfs/resolvconf"
 | 
						"github.com/docker/docker/pkg/networkfs/resolvconf"
 | 
				
			||||||
	"github.com/docker/docker/pkg/parsers/kernel"
 | 
						"github.com/docker/docker/pkg/parsers/kernel"
 | 
				
			||||||
	"github.com/docker/libcontainer/netlink"
 | 
						"github.com/docker/libcontainer/netlink"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,9 +6,9 @@ import (
 | 
				
			||||||
	"net"
 | 
						"net"
 | 
				
			||||||
	"sync"
 | 
						"sync"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/daemon/networkdriver/portallocator"
 | 
						"github.com/docker/docker/daemon/networkdriver/portallocator"
 | 
				
			||||||
	"github.com/docker/docker/pkg/iptables"
 | 
						"github.com/docker/docker/pkg/iptables"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type mapping struct {
 | 
					type mapping struct {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,9 +10,9 @@ import (
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
	"syscall"
 | 
						"syscall"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/daemon/execdriver"
 | 
						"github.com/docker/docker/daemon/execdriver"
 | 
				
			||||||
	"github.com/docker/docker/pkg/archive"
 | 
						"github.com/docker/docker/pkg/archive"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/pkg/symlink"
 | 
						"github.com/docker/docker/pkg/symlink"
 | 
				
			||||||
	"github.com/docker/docker/volumes"
 | 
						"github.com/docker/docker/volumes"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,9 +7,9 @@ import (
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
	"path"
 | 
						"path"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/pkg/archive"
 | 
						"github.com/docker/docker/pkg/archive"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/pkg/parsers"
 | 
						"github.com/docker/docker/pkg/parsers"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,11 +12,11 @@ import (
 | 
				
			||||||
	"syscall"
 | 
						"syscall"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/daemon/graphdriver"
 | 
						"github.com/docker/docker/daemon/graphdriver"
 | 
				
			||||||
	"github.com/docker/docker/dockerversion"
 | 
						"github.com/docker/docker/dockerversion"
 | 
				
			||||||
	"github.com/docker/docker/image"
 | 
						"github.com/docker/docker/image"
 | 
				
			||||||
	"github.com/docker/docker/pkg/archive"
 | 
						"github.com/docker/docker/pkg/archive"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/pkg/truncindex"
 | 
						"github.com/docker/docker/pkg/truncindex"
 | 
				
			||||||
	"github.com/docker/docker/runconfig"
 | 
						"github.com/docker/docker/runconfig"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,10 +7,10 @@ import (
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
	"path"
 | 
						"path"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/image"
 | 
						"github.com/docker/docker/image"
 | 
				
			||||||
	"github.com/docker/docker/pkg/archive"
 | 
						"github.com/docker/docker/pkg/archive"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Loads a set of images into the repository. This is the complementary of ImageExport.
 | 
					// Loads a set of images into the repository. This is the complementary of ImageExport.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,9 +12,9 @@ import (
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/image"
 | 
						"github.com/docker/docker/image"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/registry"
 | 
						"github.com/docker/docker/registry"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
	"github.com/docker/libtrust"
 | 
						"github.com/docker/libtrust"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,9 +7,9 @@ import (
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
	"path"
 | 
						"path"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/pkg/archive"
 | 
						"github.com/docker/docker/pkg/archive"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/registry"
 | 
						"github.com/docker/docker/registry"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,9 +4,9 @@ import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
	"io"
 | 
						"io"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/image"
 | 
						"github.com/docker/docker/image"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (s *TagStore) Install(eng *engine.Engine) error {
 | 
					func (s *TagStore) Install(eng *engine.Engine) error {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,8 +9,8 @@ import (
 | 
				
			||||||
	"strconv"
 | 
						"strconv"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/pkg/archive"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/pkg/archive"
 | 
				
			||||||
	"github.com/docker/docker/runconfig"
 | 
						"github.com/docker/docker/runconfig"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,9 +9,9 @@ import (
 | 
				
			||||||
	"testing"
 | 
						"testing"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/api/client"
 | 
						"github.com/docker/docker/api/client"
 | 
				
			||||||
	"github.com/docker/docker/daemon"
 | 
						"github.com/docker/docker/daemon"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/pkg/term"
 | 
						"github.com/docker/docker/pkg/term"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
	"github.com/docker/libtrust"
 | 
						"github.com/docker/libtrust"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,12 +16,12 @@ import (
 | 
				
			||||||
	"testing"
 | 
						"testing"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/daemon"
 | 
						"github.com/docker/docker/daemon"
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/docker/image"
 | 
						"github.com/docker/docker/image"
 | 
				
			||||||
	"github.com/docker/docker/nat"
 | 
						"github.com/docker/docker/nat"
 | 
				
			||||||
	"github.com/docker/docker/pkg/ioutils"
 | 
						"github.com/docker/docker/pkg/ioutils"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
	"github.com/docker/docker/reexec"
 | 
						"github.com/docker/docker/reexec"
 | 
				
			||||||
	"github.com/docker/docker/runconfig"
 | 
						"github.com/docker/docker/runconfig"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,8 +18,8 @@ import (
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
 | 
						"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/pkg/fileutils"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/pkg/fileutils"
 | 
				
			||||||
	"github.com/docker/docker/pkg/pools"
 | 
						"github.com/docker/docker/pkg/pools"
 | 
				
			||||||
	"github.com/docker/docker/pkg/promise"
 | 
						"github.com/docker/docker/pkg/promise"
 | 
				
			||||||
	"github.com/docker/docker/pkg/system"
 | 
						"github.com/docker/docker/pkg/system"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,8 +6,8 @@ import (
 | 
				
			||||||
	"sync"
 | 
						"sync"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/pkg/jsonlog"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/pkg/jsonlog"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// BroadcastWriter accumulate multiple io.WriteCloser by stream.
 | 
					// BroadcastWriter accumulate multiple io.WriteCloser by stream.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,8 +17,8 @@ import (
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/pkg/httputils"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/pkg/httputils"
 | 
				
			||||||
	"github.com/docker/docker/pkg/tarsum"
 | 
						"github.com/docker/docker/pkg/tarsum"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,8 +3,8 @@ package runconfig
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/nat"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/nat"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func Merge(userConf, imageConf *Config) error {
 | 
					func Merge(userConf, imageConf *Config) error {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,8 +4,8 @@ import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/engine"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/engine"
 | 
				
			||||||
	"github.com/docker/libtrust"
 | 
						"github.com/docker/libtrust"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,10 +20,10 @@ import (
 | 
				
			||||||
	"sync"
 | 
						"sync"
 | 
				
			||||||
	"syscall"
 | 
						"syscall"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
	"github.com/docker/docker/dockerversion"
 | 
						"github.com/docker/docker/dockerversion"
 | 
				
			||||||
	"github.com/docker/docker/pkg/fileutils"
 | 
						"github.com/docker/docker/pkg/fileutils"
 | 
				
			||||||
	"github.com/docker/docker/pkg/ioutils"
 | 
						"github.com/docker/docker/pkg/ioutils"
 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
					 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type KeyValuePair struct {
 | 
					type KeyValuePair struct {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,8 +7,8 @@ import (
 | 
				
			||||||
	"path/filepath"
 | 
						"path/filepath"
 | 
				
			||||||
	"sync"
 | 
						"sync"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/docker/docker/daemon/graphdriver"
 | 
					 | 
				
			||||||
	log "github.com/Sirupsen/logrus"
 | 
						log "github.com/Sirupsen/logrus"
 | 
				
			||||||
 | 
						"github.com/docker/docker/daemon/graphdriver"
 | 
				
			||||||
	"github.com/docker/docker/utils"
 | 
						"github.com/docker/docker/utils"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue