Skip to content

Commit

Permalink
fix go test report?
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Dec 8, 2023
1 parent 812ebce commit f74ab29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- run: make test
- if: ${{ always() }}
run: |
go get -u github.com/vakenbolt/go-test-report
cat tests.json | go-test-report
go install github.com/vakenbolt/go-test-report@latest
cat tests.json | $(go env GOPATH)/bin/go-test-report
- if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion pkg/roles/dns/zone.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (z *Zone) watchZoneRecords(ctx context.Context) {
}

func (z *Zone) StopWatchingRecords() {
if z.recordsWatchCtx != nil {
if z != nil && z.recordsWatchCtx != nil {
z.recordsWatchCtx()
}
}
Expand Down

0 comments on commit f74ab29

Please sign in to comment.