Only quotes string with 2 parameters are valid for unavailable_server_retry_responses. Other valid string get ignored and parameters are not been written into the parent.config.
Expected behavior:
Setting unavailable_server_retry_responses to 503 should work. Shouldn't need to be quoted either.
Minimal reproduction of the problem with instructions:
set mso.unavailable_server_retry_responses to 503.
Result: ERROR: parentdotconfig.go:251: 2020-10-14T15:13:03.917552091Z: Malformed unavailable_server_retry_responses parameter '503', not using!
set mso.unavailable_server_retry_responses to "503".
Result: ERROR: parentdotconfig.go:251: 2020-10-14T15:49:28.583433821Z: Malformed unavailable_server_retry_responses parameter '"503"', not using!
set mso.unavailable_server_retry_responses to 502,503.
Result: ERROR: parentdotconfig.go:251: 2020-10-14T15:13:03.917599943Z: Malformed unavailable_server_retry_responses parameter '502,503', not using!
set mso.unavailable_server_retry_responses to "502,503".
Works.
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
Only quotes string with 2 parameters are valid for
unavailable_server_retry_responses
. Other valid string get ignored and parameters are not been written into the parent.config.Expected behavior:
Setting
unavailable_server_retry_responses
to503
should work. Shouldn't need to be quoted either.Minimal reproduction of the problem with instructions:
set mso.unavailable_server_retry_responses to
503
. Result:ERROR: parentdotconfig.go:251: 2020-10-14T15:13:03.917552091Z: Malformed unavailable_server_retry_responses parameter '503', not using!
set mso.unavailable_server_retry_responses to
"503"
. Result:ERROR: parentdotconfig.go:251: 2020-10-14T15:49:28.583433821Z: Malformed unavailable_server_retry_responses parameter '"503"', not using!
set mso.unavailable_server_retry_responses to
502,503
. Result:ERROR: parentdotconfig.go:251: 2020-10-14T15:13:03.917599943Z: Malformed unavailable_server_retry_responses parameter '502,503', not using!
set mso.unavailable_server_retry_responses to
"502,503"
. Works.