mirror of https://github.com/docker/docs.git
Move debug.go to a `debug` sub-package
Signed-off-by: Solomon Hykes <solomon@docker.com>
This commit is contained in:
parent
49fe0eb7ac
commit
eedfdd348e
|
@ -2,7 +2,7 @@ package backends
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/docker/libswarm/beam"
|
"github.com/docker/libswarm/beam"
|
||||||
"github.com/docker/libswarm/utils"
|
"github.com/docker/libswarm/debug"
|
||||||
)
|
)
|
||||||
|
|
||||||
// New returns a new engine, with all backends
|
// New returns a new engine, with all backends
|
||||||
|
@ -14,7 +14,7 @@ import (
|
||||||
func New() *beam.Object {
|
func New() *beam.Object {
|
||||||
backends := beam.NewTree()
|
backends := beam.NewTree()
|
||||||
backends.Bind("simulator", Simulator())
|
backends.Bind("simulator", Simulator())
|
||||||
backends.Bind("debug", utils.Debug())
|
backends.Bind("debug", debug.Debug())
|
||||||
backends.Bind("fakeclient", FakeClient())
|
backends.Bind("fakeclient", FakeClient())
|
||||||
backends.Bind("dockerclient", DockerClient())
|
backends.Bind("dockerclient", DockerClient())
|
||||||
backends.Bind("exec", Exec())
|
backends.Bind("exec", Exec())
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package utils
|
package debug
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
Loading…
Reference in New Issue