Skip to content

Commit 3fb133e

Browse files
authored
Merge pull request #2414 from lemrouch/2413-fix
Allow network with --config-from to be --internal
2 parents 4f86de7 + f1df445 commit 3fb133e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ func (c *controller) NewNetwork(networkType, name string, id string, options ...
801801
if err = t.applyConfigurationTo(network); err != nil {
802802
return nil, types.InternalErrorf("Failed to apply configuration: %v", err)
803803
}
804+
network.generic[netlabel.Internal] = network.internal
804805
defer func() {
805806
if err == nil {
806807
if err := t.getEpCnt().IncEndpointCnt(); err != nil {

0 commit comments

Comments
 (0)