Rename runtime/* to daemon/*

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
This commit is contained in:
Alexander Larsson
2014-04-17 14:43:01 -07:00
parent 57cbe8b106
commit 359b7df5d2
91 changed files with 827 additions and 827 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ package main
import (
"encoding/json"
"fmt"
"github.com/dotcloud/docker/runtime"
"github.com/dotcloud/docker/daemon"
"net"
"os/exec"
"path/filepath"
@@ -47,7 +47,7 @@ func TestNetworkNat(t *testing.T) {
inspectOut, _, err := runCommandWithOutput(inspectCmd)
errorOut(err, t, fmt.Sprintf("out should've been a container id: %v %v", inspectOut, err))
containers := []*runtime.Container{}
containers := []*daemon.Container{}
if err := json.Unmarshal([]byte(inspectOut), &containers); err != nil {
t.Fatalf("Error inspecting the container: %s", err)
}