mirror of
https://github.com/rancher/os.git
synced 2025-07-16 08:05:51 +00:00
Merge pull request #625 from datawolf/add-double-quotation-marks
config/types.go: add "" to field tag
This commit is contained in:
commit
63bc914462
@ -47,17 +47,8 @@ func init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
type ContainerConfig struct {
|
|
||||||
Id string `yaml:"id,omitempty"`
|
|
||||||
Cmd string `yaml:"run,omitempty"`
|
|
||||||
MigrateVolumes bool `yaml:"migrate_volumes,omitempty"`
|
|
||||||
ReloadConfig bool `yaml:"reload_config,omitempty"`
|
|
||||||
CreateOnly bool `yaml:create_only,omitempty`
|
|
||||||
Service *project.ServiceConfig `yaml:service,omitempty`
|
|
||||||
}
|
|
||||||
|
|
||||||
type Repository struct {
|
type Repository struct {
|
||||||
Url string `yaml:url,omitempty`
|
Url string `yaml:"url,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Repositories map[string]Repository
|
type Repositories map[string]Repository
|
||||||
|
Loading…
Reference in New Issue
Block a user