File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 11github.com/BurntSushi/toml 056c9bc7be7190eaa7715723883caffa5f8fa3e4
2- github.com/fsouza/go-dockerclient e0d22d30691bcc996eca51f729a4777b8c7dc2a8
2+ github.com/docker/docker f2afa26235941fd79f40eb1e572e19e4ac2b9bbe
3+ github.com/docker/go-units 0dadbb0345b35ec7ef35e228dabb8de89a65bf52
4+ github.com/fsouza/go-dockerclient d2a6d0596004cc01062a2a068540b817f911e6dc
5+ github.com/gorilla/mux d391bea3118c9fc17a88d62c9189bb791255e0ef
6+ golang.org/x/net a04bdaca5b32abe1c069418fb7088ae607de5bd0
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ func (c *Context) Docker() Docker {
2727 return dockerInfo
2828}
2929
30- func SetServerInfo (d * docker.Env ) {
30+ func SetServerInfo (d * docker.DockerInfo ) {
3131 mu .Lock ()
3232 defer mu .Unlock ()
3333 dockerInfo = Docker {
34- Name : d .Get ( " Name" ) ,
35- NumContainers : d .GetInt ( " Containers" ) ,
36- NumImages : d .GetInt ( " Images" ) ,
34+ Name : d .Name ,
35+ NumContainers : d .Containers ,
36+ NumImages : d .Images ,
3737 Version : dockerEnv .Get ("Version" ),
3838 ApiVersion : dockerEnv .Get ("ApiVersion" ),
3939 GoVersion : dockerEnv .Get ("GoVersion" ),
You can’t perform that action at this time.
0 commit comments