Skip to content

fix wrong url when clearing cache stats#3985

Merged
mandarjog merged 2 commits intoistio:masterfrom
baodongli:istio-proxy-cfg
Mar 6, 2018
Merged

fix wrong url when clearing cache stats#3985
mandarjog merged 2 commits intoistio:masterfrom
baodongli:istio-proxy-cfg

Conversation

@baodongli
Copy link
Copy Markdown

@baodongli baodongli commented Mar 5, 2018

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

@baodongli baodongli requested review from a team and mandarjog March 5, 2018 23:12
@istio-merge-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
We suggest the following additional approver: rshriram

Assign the PR to them by writing /assign @rshriram in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@mandarjog
Copy link
Copy Markdown
Contributor

@baodongli while you are at it, can you update code to ensure that when --pilot_url is specified, we automatically prefix it with http:// if it is not present.

The issue right now is that simply specifying localhost:9080 does not work.

Copy link
Copy Markdown
Contributor

@mandarjog mandarjog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mandarjog
Copy link
Copy Markdown
Contributor

@baodongli please provide a description to the PR, thanks.

@istio-testing
Copy link
Copy Markdown
Collaborator

@baodongli: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
prow/e2e-bookInfoTests.sh 50f46a8 link /test e2e-bookInfo
prow/istio-pilot-e2e.sh 50f46a8 link /test istio-pilot-e2e
Details

Instructions 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.

@mandarjog mandarjog merged commit 16272d6 into istio:master Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants