1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #564 from brahmaroutu/gccgo_compile_error

Docker GCCGO CI is causing compilation errors as the varibale is decl…
This commit is contained in:
Jana Radhakrishnan 2015-09-25 15:43:46 -07:00
commit 00772afa41

View file

@ -101,7 +101,6 @@ func Fini(drv driverapi.Driver) {
}
func (d *driver) configure() error {
var onceDone bool
var err error
if len(d.config) == 0 {
@ -109,8 +108,6 @@ func (d *driver) configure() error {
}
d.Do(func() {
onceDone = true
if ifaceName, ok := d.config[netlabel.OverlayBindInterface]; ok {
d.ifaceName = ifaceName.(string)
}