1
0
mirror of https://github.com/rancher/os.git synced 2025-09-25 12:47:20 +00:00

Remove useless field

This commit is contained in:
Jason-ZW
2018-10-22 09:55:00 +08:00
committed by niusmallnan
parent 5f4ff44780
commit a088811de9
2 changed files with 0 additions and 2 deletions

View File

@@ -42,7 +42,6 @@ var schema = `{
"services_include": {"type": "object"}, "services_include": {"type": "object"},
"modules": {"$ref": "#/definitions/list_of_strings"}, "modules": {"$ref": "#/definitions/list_of_strings"},
"network": {"$ref": "#/definitions/network_config"}, "network": {"$ref": "#/definitions/network_config"},
"default_network": {"type": "object"},
"repositories": {"type": "object"}, "repositories": {"type": "object"},
"ssh": {"$ref": "#/definitions/ssh_config"}, "ssh": {"$ref": "#/definitions/ssh_config"},
"state": {"$ref": "#/definitions/state_config"}, "state": {"$ref": "#/definitions/state_config"},

View File

@@ -126,7 +126,6 @@ type RancherConfig struct {
ServicesInclude map[string]bool `yaml:"services_include,omitempty"` ServicesInclude map[string]bool `yaml:"services_include,omitempty"`
Modules []string `yaml:"modules,omitempty"` Modules []string `yaml:"modules,omitempty"`
Network netconf.NetworkConfig `yaml:"network,omitempty"` Network netconf.NetworkConfig `yaml:"network,omitempty"`
DefaultNetwork netconf.NetworkConfig `yaml:"default_network,omitempty"`
Repositories Repositories `yaml:"repositories,omitempty"` Repositories Repositories `yaml:"repositories,omitempty"`
SSH SSHConfig `yaml:"ssh,omitempty"` SSH SSHConfig `yaml:"ssh,omitempty"`
State StateConfig `yaml:"state,omitempty"` State StateConfig `yaml:"state,omitempty"`