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
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ type PreemptionConfig struct {
BatchSchedulerEnabled bool `hcl:"batch_scheduler_enabled"` BatchSchedulerEnabled bool `hcl:"batch_scheduler_enabled"`
// ServiceSchedulerEnabled specifies if preemption is enabled for service jobs // 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 // SchedulerSetConfigRequest is used by the Operator endpoint to update the