diff --git a/transport/config.go b/transport/config.go index c5349908f..7c5bfbcd7 100644 --- a/transport/config.go +++ b/transport/config.go @@ -6,6 +6,11 @@ import ( // Apply applies this Config. func (this *Config) Apply() error { - internet.ApplyGlobalNetworkSettings(this.NetworkSettings) + if this == nil { + return nil + } + if err := internet.ApplyGlobalNetworkSettings(this.NetworkSettings); err != nil { + return err + } return nil }