Skip to content

Commit f8bc8ff

Browse files
committed
idk?
1 parent 812ebce commit f8bc8ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- if: ${{ always() }}
3333
run: |
3434
go get -u github.com/vakenbolt/go-test-report
35-
cat tests.json | go-test-report
35+
cat tests.json | $(go env GOPATH)/bin/go-test-report
3636
- if: ${{ always() }}
3737
uses: actions/upload-artifact@v3
3838
with:

pkg/roles/dns/zone.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (z *Zone) watchZoneRecords(ctx context.Context) {
242242
}
243243

244244
func (z *Zone) StopWatchingRecords() {
245-
if z.recordsWatchCtx != nil {
245+
if z != nil && z.recordsWatchCtx != nil {
246246
z.recordsWatchCtx()
247247
}
248248
}

0 commit comments

Comments
 (0)