update go import path and libcontainer
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
This commit is contained in:
parent
5b5f71a7e6
commit
bb2a94eeef
5 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ package main
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
flag "github.com/dotcloud/docker/pkg/mflag"
|
flag "github.com/docker/docker/pkg/mflag"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
Define flags using flag.String(), Bool(), Int(), etc.
|
Define flags using flag.String(), Bool(), Int(), etc.
|
||||||
|
|
||||||
This declares an integer flag, -f or --flagname, stored in the pointer ip, with type *int.
|
This declares an integer flag, -f or --flagname, stored in the pointer ip, with type *int.
|
||||||
import "flag /github.com/dotcloud/docker/pkg/mflag"
|
import "flag /github.com/docker/docker/pkg/mflag"
|
||||||
var ip = flag.Int([]string{"f", "-flagname"}, 1234, "help message for flagname")
|
var ip = flag.Int([]string{"f", "-flagname"}, 1234, "help message for flagname")
|
||||||
If you like, you can bind the flag to a variable using the Var() functions.
|
If you like, you can bind the flag to a variable using the Var() functions.
|
||||||
var flagvar int
|
var flagvar int
|
||||||
|
|
|
@ -7,7 +7,7 @@ package mflag_test
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
. "github.com/dotcloud/docker/pkg/mflag"
|
. "github.com/docker/docker/pkg/mflag"
|
||||||
"os"
|
"os"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Solomon Hykes <solomon@dotcloud.com> (@shykes)
|
Solomon Hykes <solomon@docker.com> (@shykes)
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/dotcloud/docker/utils"
|
"github.com/docker/docker/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Test the behavior of TruncIndex, an index for querying IDs from a non-conflicting prefix.
|
// Test the behavior of TruncIndex, an index for querying IDs from a non-conflicting prefix.
|
||||||
|
|
Loading…
Reference in a new issue