1
0
Fork 0
mirror of https://code.forgejo.org/actions/ovh-dns-update synced 2025-03-14 22:36:58 +01:00

return error

This commit is contained in:
oliverpool 2023-08-19 20:23:16 +02:00
parent fcd44737dc
commit ddda991f33
2 changed files with 2 additions and 1 deletions

View file

@ -33,6 +33,6 @@ jobs:
ovh-consumer-key: CON_KEY
- name: check record update
run: |
ls .
ls -al .
cat dns.txt
grep --quiet "v=v1.42" dns.txt

View file

@ -85,6 +85,7 @@ func TestRun(t *testing.T) {
t.Error(msg)
return
}
http.Error(w, "TARGET"+body.Target, http.StatusInternalServerError)
}
}))
t.Cleanup(s.Close)