Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request parent.conf via api, if there is no assigned ds's, need to error out clearly. #1897

Closed
jdawgitsome opened this issue Feb 20, 2018 · 1 comment
Assignees
Labels
bug something isn't working as intended

Comments

@jdawgitsome
Copy link
Contributor

When requesting parent.conf via api, and there is no assigned ds's, traffic ops needs to handle and error out clearly.

Currently the error that is reported back is the following:

Traffic Ops fatal error occurred while processing your request.
Error at line 2468 ( foreach my $ds ( sort @{ $data->{dslist} } ) {)
Can't use an undefined value as an ARRAY reference at /opt/traffic_ops/app/lib/API/Configs/ApacheTrafficServer.pm line 2468.

@mitchell852 mitchell852 added Traffic Ops API bug something isn't working as intended labels Feb 21, 2018
@dg4prez dg4prez self-assigned this Feb 21, 2018
@dg4prez
Copy link
Contributor

dg4prez commented Feb 21, 2018

#1898

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working as intended
Projects
None yet
Development

No branches or pull requests

3 participants