You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the reason it does that currently is to avoid dividing by zero. I don't remember the specifics of how it works, but it might be permissible to instead return zero values in that case.
Do all of the structs in traffic_ops/traffic_ops_golang/cdn/capacity.go (last modified in February in c3c313f) accommodate the new interface-specific structure coming from TM? If it's not unmarshalling correctly, there won't be any data there.
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
Visiting
/api/3.0/cdns/capacity
returns a 500 error:Expected / new behavior:
Should return a response like
Minimal reproduction of the problem with instructions:
Anything else:
From the error log:
ERROR: api.go:201: 2020-07-01T17:32:06.388024754Z: 192.168.48.10:55050 capacity was zero!
The text was updated successfully, but these errors were encountered: