fix wrong url when clearing cache stats#3985
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Assign the PR to them by writing The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:You can indicate your approval by writing |
|
@baodongli while you are at it, can you update code to ensure that when The issue right now is that simply specifying |
85043e3 to
50f46a8
Compare
|
@baodongli please provide a description to the PR, thanks. |
|
@baodongli: The following tests failed, say
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Incorrect URL is used when sending a request to pilot to clear cache stats, and json() call should be removed when posting the request.
In addition, if user uses the --pilot_url and provides a url without prefix http:// or https://, prefix it with http://, to make it more user friendly