dangogh opened a new issue #2710: TO Go -- db access error if profile.cdn is null URL: https://github.com/apache/trafficcontrol/issues/2710 hitting the `POST /api/1.3/servers` endpoint. If the profile indicated has a null cdn, I get a db access error: ``` ERROR: servers.go:128: could not scan cdnID from profile: sql: Scan error on column index 0: converting driver.Value type <nil> ("<nil>") to a int: invalid syntax ``` The `POST .../profiles` endpoint doesn't allow a null cdn, but the profiles in `seeds.sql` create the initial set that way. That needs to be fixed and a not null constraint placed on it, or the servers endpoint needs to handle it appropriately.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
