Use lowercase for hcl keys

This is not a change in behavior, hcl key matching is case insensitive
as desmonstrated in `command.agent/TestConfig_Parse`
This commit is contained in:
Mahmood Ali 2020-04-03 07:56:00 -04:00
parent 990cfb6fef
commit 5587dc58c0

View file

@ -162,7 +162,7 @@ type PreemptionConfig struct {
BatchSchedulerEnabled bool `hcl:"batch_scheduler_enabled"`
// ServiceSchedulerEnabled specifies if preemption is enabled for service jobs
ServiceSchedulerEnabled bool `hcl:"service_Scheduler_enabled"`
ServiceSchedulerEnabled bool `hcl:"service_scheduler_enabled"`
}
// SchedulerSetConfigRequest is used by the Operator endpoint to update the