mirror of
https://code.forgejo.org/actions/ovh-dns-update
synced 2025-03-15 06:46:59 +01:00
return error
This commit is contained in:
parent
fcd44737dc
commit
ddda991f33
2 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,6 @@ jobs:
|
||||||
ovh-consumer-key: CON_KEY
|
ovh-consumer-key: CON_KEY
|
||||||
- name: check record update
|
- name: check record update
|
||||||
run: |
|
run: |
|
||||||
ls .
|
ls -al .
|
||||||
cat dns.txt
|
cat dns.txt
|
||||||
grep --quiet "v=v1.42" dns.txt
|
grep --quiet "v=v1.42" dns.txt
|
||||||
|
|
|
@ -85,6 +85,7 @@ func TestRun(t *testing.T) {
|
||||||
t.Error(msg)
|
t.Error(msg)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
http.Error(w, "TARGET"+body.Target, http.StatusInternalServerError)
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
t.Cleanup(s.Close)
|
t.Cleanup(s.Close)
|
||||||
|
|
Loading…
Add table
Reference in a new issue