Fix warnings about configuration values; should always use the snake case since we're using a marshaled value

This commit is contained in:
Dane Everitt
2020-05-17 17:25:53 -07:00
parent 276bd2be33
commit c802a3397e
4 changed files with 12 additions and 11 deletions

View File

@@ -46,9 +46,9 @@ type Configuration struct {
// validate against it.
AuthenticationToken string `json:"token" yaml:"token"`
Api ApiConfiguration
System SystemConfiguration
Docker DockerConfiguration
Api ApiConfiguration `json:"api" yaml:"api"`
System SystemConfiguration `json:"system" yaml:"system"`
Docker DockerConfiguration `json:"docker" yaml:"docker"`
// The amount of time in seconds that should elapse between disk usage checks
// run by the daemon. Setting a higher number can result in better IO performance