Skip to content

Commit

Permalink
Fix errors from tests
Browse files Browse the repository at this point in the history
Signed-off-by: Will Hegedus <[email protected]>
  • Loading branch information
wbh1 committed Jul 22, 2021
1 parent bcdfcd3 commit 41f9805
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re
### Added

### Fixed
[#4471](https://github.com/thanos-io/thanos/pull/4471) **breaking:** Query/Rule/Compact/Store: Serve `/debug/*`, `/-/ready`, `/-/healthy`, and `/metrics` routes under the prefix from `--web.route-prefix`, if set.

[#4471](https://github.com/thanos-io/thanos/pull/4471) **breaking:** Query/Rule/Compact/Store: Serve `/debug/*`, `/-/ready`, `/-/healthy`, and `/metrics` routes under the prefix from `--web.route-prefix`, if set.

### Changed

Expand Down
5 changes: 5 additions & 0 deletions test/e2e/e2ethanos/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ func (q *QuerierBuilder) Build() (*Service, error) {
args = append(args, "--tracing.config="+q.tracingConfig)
}

// If routePrefix isn't assigned, it defaults to the value of externalPrefix
if q.routePrefix == "" {
q.routePrefix = q.externalPrefix
}

querier := NewService(
fmt.Sprintf("querier-%v", q.name),
DefaultImage(),
Expand Down

0 comments on commit 41f9805

Please sign in to comment.