-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't reuse the configured Trusty http endpoint for the PR reply, use…
… a constant instead (#1473) When we first developed the Trusty evaluator, we had a configurable Trusty endpoint which we used to both talk to the API endpoint and to construct the HTTP URL to link to a package alternative. Nowadays, we use the name/namespace of the k8s service to contact trusty by default (See PR #1313 and #1401), but that means our PR replies were pointing to `http://pi.pi:8000` as well. Instead, let's use the new prod/staging constants to add a HTTP URL of a Trusty instance and point to that. Since Trusty is a hosted service only, let's just use a constant.
- Loading branch information
Showing
3 changed files
with
6 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters