client: fix job_max_source_size client config name (#17067)

Intended to be job_max_source_size, rather than max_job_source_size.
This way it fits better with existing client config options related
to jobs.
This commit is contained in:
Seth Hoenig
2023-05-04 13:54:51 -05:00
committed by GitHub
parent a7a2a3ce56
commit 351e010acb

View File

@@ -613,11 +613,6 @@ type ServerConfig struct {
// for the EventBufferSize is 1.
EventBufferSize *int `hcl:"event_buffer_size"`
// JobMaxSourceSize limits the maximum size of a jobs source hcl/json
// before being discarded automatically. If unset, the maximum size defaults
// to 1 MB. If the value is zero, no job sources will be stored.
JobMaxSourceSize *string `hcl:"max_job_source_size"`
// LicensePath is the path to search for an enterprise license.
LicensePath string `hcl:"license_path"`
@@ -666,6 +661,11 @@ type ServerConfig struct {
// JobMaxPriority is an upper bound on the Job priority.
JobMaxPriority *int `hcl:"job_max_priority"`
// JobMaxSourceSize limits the maximum size of a jobs source hcl/json
// before being discarded automatically. If unset, the maximum size defaults
// to 1 MB. If the value is zero, no job sources will be stored.
JobMaxSourceSize *string `hcl:"job_max_source_size"`
}
func (s *ServerConfig) Copy() *ServerConfig {