Skip to content

Commit 82012da

Browse files
committed
fix lychee base url
Signed-off-by: Jan Wozniak <[email protected]>
1 parent 0dac15e commit 82012da

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/ISSUE_TEMPLATE/3_release_tracker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ assignees: tomkerkhove,jorturfer
88

99
This issue template is used to track the rollout of a new KEDA HTTP add-on version.
1010

11-
For the full release process, we recommend reading [this document]([https://github.com/kedacore/keda/blob/main/RELEASE-PROCESS.md](https://github.com/kedacore/http-add-on/blob/main/RELEASE-PROCESS.md)).
11+
For the full release process, we recommend reading [this document](https://github.com/kedacore/http-add-on/blob/main/RELEASE-PROCESS.md).
1212

1313
## Required items
1414

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ _Provide a description of what has been changed_
1212
- [ ] Changelog has been updated and is aligned with our [changelog requirements](https://github.com/kedacore/keda/blob/main/CONTRIBUTING.md#Changelog)
1313
- [ ] Any necessary documentation is added, such as:
1414
- [`README.md`](../README.md)
15-
- [The `docs/` directory](./docs)
15+
- [The `docs/` directory](../docs)
1616
- [The docs repo](https://github.com/kedacore/keda-docs)
1717

1818
Fixes #

.github/workflows/linkinator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: lycheeverse/lychee-action@v2
2828
with:
2929
args: >
30-
--base-url "."
30+
--root-dir "${{ github.workspace }}"
3131
--cache --max-cache-age 1d
3232
--max-concurrency 6
3333
--max-retries 6

interceptor/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ func runProxyServer(
465465

466466
var requestLogger *logr.Logger
467467
if serving.LogRequests {
468-
requestLogger = logger
468+
requestLogger = &logger
469469
}
470470

471471
rootHandler = middleware.NewLogging(

interceptor/middleware/logging.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ const (
1616
)
1717

1818
type Logging struct {
19-
logger logr.Logger
19+
logger *logr.Logger
2020
upstreamHandler http.Handler
2121
}
2222

23-
func NewLogging(logger logr.Logger, upstreamHandler http.Handler) *Logging {
23+
func NewLogging(logger *logr.Logger, upstreamHandler http.Handler) *Logging {
2424
return &Logging{
2525
logger: logger,
2626
upstreamHandler: upstreamHandler,
@@ -30,7 +30,7 @@ func NewLogging(logger logr.Logger, upstreamHandler http.Handler) *Logging {
3030
var _ http.Handler = (*Logging)(nil)
3131

3232
func (lm *Logging) ServeHTTP(w http.ResponseWriter, r *http.Request) {
33-
if r.logger == nil {
33+
if lm.logger == nil {
3434
lm.upstreamHandler.ServeHTTP(w, r)
3535
return
3636
}

0 commit comments

Comments
 (0)