1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 14:59:16 +00:00

Change MTU to int type

This commit is contained in:
Sebastiaan van Steenis
2019-12-17 19:43:18 +01:00
parent 6c41e607b4
commit f563c296ff

View File

@@ -357,7 +357,7 @@ type NetworkConfig struct {
// Plugin options to configure network properties
Options map[string]string `yaml:"options" json:"options,omitempty"`
// Set MTU for CNI provider
MTU string `yaml:"mtu" json:"mtu,omitempty"`
MTU int `yaml:"mtu" json:"mtu,omitempty"`
// CalicoNetworkProvider
CalicoNetworkProvider *CalicoNetworkProvider `yaml:"calico_network_provider,omitempty" json:"calicoNetworkProvider,omitempty"`
// CanalNetworkProvider