mirror of https://github.com/docker/docs.git
Merge pull request #28 from shykes/pr_out_gofmt
This commit is contained in:
commit
c213e05b40
|
|
@ -244,7 +244,7 @@ func (cloud GCECloud) CreateInstance(name string, zone string) (string, error) {
|
||||||
NetworkInterfaces: []*compute.NetworkInterface{
|
NetworkInterfaces: []*compute.NetworkInterface{
|
||||||
{
|
{
|
||||||
AccessConfigs: []*compute.AccessConfig{
|
AccessConfigs: []*compute.AccessConfig{
|
||||||
&compute.AccessConfig{Type: "ONE_TO_ONE_NAT"},
|
{Type: "ONE_TO_ONE_NAT"},
|
||||||
},
|
},
|
||||||
Network: prefix + "/global/networks/default",
|
Network: prefix + "/global/networks/default",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,7 @@ func main() {
|
||||||
app.Name = "swarmd"
|
app.Name = "swarmd"
|
||||||
app.Usage = "Compose distributed systems from lightweight services"
|
app.Usage = "Compose distributed systems from lightweight services"
|
||||||
app.Version = "0.0.1"
|
app.Version = "0.0.1"
|
||||||
app.Flags = []cli.Flag{
|
app.Flags = []cli.Flag{}
|
||||||
}
|
|
||||||
app.Action = cmdDaemon
|
app.Action = cmdDaemon
|
||||||
app.Run(os.Args)
|
app.Run(os.Args)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue