Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #444 from mcastelino/topic/docker-1.12
Browse files Browse the repository at this point in the history
Topic/docker 1.12
  • Loading branch information
Samuel Ortiz authored Aug 9, 2016
2 parents 5a9a49f + f8fa333 commit 5d347e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ before_script:
script:
- go env
- docker --version
- sudo apt-get install -o Dpkg::Options::="--force-confold" --force-yes -y docker-engine=1.11.2-0~trusty
- docker --version
- sudo docker pull debian
- sudo ip link add testdummy type dummy
- sudo ip addr add 198.51.100.1/24 dev testdummy
Expand Down
7 changes: 5 additions & 2 deletions networking/libsnnet/docker_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
"time"

"github.com/01org/ciao/ssntp/uuid"
"github.com/docker/go-connections/tlsconfig"
"github.com/docker/libnetwork/drivers/remote/api"
ipamapi "github.com/docker/libnetwork/ipams/remote/api"
"github.com/golang/glog"
Expand Down Expand Up @@ -724,11 +725,13 @@ func createDockerPluginConfig(dir string) error {
pluginSpecFile := path.Join(dir, DockerPluginCfg.Name+".json")

var spec struct {
Name string
Addr string
Name string
Addr string
TLSConfig *tlsconfig.Options
}
spec.Name = DockerPluginCfg.Name
spec.Addr = "http://" + DockerPluginCfg.Addr
spec.TLSConfig = &tlsconfig.Options{}
b, err := json.Marshal(spec)
if err != nil {
return fmt.Errorf("Unable to create plugin spec (%v) %v", spec, err)
Expand Down

0 comments on commit 5d347e2

Please sign in to comment.