-
Notifications
You must be signed in to change notification settings - Fork 352
Fix TO Go cdn dnssec generate to accept numbers #2720
Conversation
The docs say they're strings, but it appears Perl accepts both, and the Portal sends numbers. This changes Go to emulate the Perl. Fixes apache#2716
|
Refer to this link for build results (access rights to CI server needed): |
|
@rob05c Just tested this PR and I'm getting this error now, see me for details: |
|
@rob05c - can you write a unit test for this? or an integration test? or whatever makes the most sense? |
|
Refer to this link for build results (access rights to CI server needed): |
@mitchell852 https://github.com/apache/trafficcontrol/pull/2720/files#diff-548856fd9ea3ae645fc12cb9afde3e31R31 |
|
Refer to this link for build results (access rights to CI server needed): |

The docs say they're strings, but it appears Perl accepts both,
and the Portal sends numbers. This changes Go to emulate the Perl.
Fixes #2716
What does this PR do?
Fixes #2716
Which TC components are affected by this PR?
What is the best way to verify this PR?
Steps to Reproduce in #2716
Be aware this endpoint takes a long time, reproducing will likely require increasing http and db timeouts.
Check all that apply