Skip to content

Commit 20ac552

Browse files
committed
Sync interface name with docker-up and nsinsider
Context: gitpod-io/gitpod#16368 (comment)
1 parent 215e6e0 commit 20ac552

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/compose/create.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,12 @@ func (s *composeService) resolveOrCreateNetwork(ctx context.Context, project *ty
13501350
createOpts.IPAM.Config = append(createOpts.IPAM.Config, config)
13511351
}
13521352

1353+
// override MTU value and set custom MTU one.
1354+
// This is required for gitpod.io due to the veth change
1355+
// https://github.com/gitpod-io/gitpod/pull/8955
1356+
if createOpts.Options == nil {
1357+
createOpts.Options = make(map[string]string)
1358+
}
13531359
// override MTU value and set custom MTU one.
13541360
// This is required for gitpod.io due to the veth change
13551361
// https://github.com/gitpod-io/gitpod/pull/8955

0 commit comments

Comments
 (0)