mirror of
https://code.forgejo.org/actions/ovh-dns-update
synced 2025-03-15 14:54:40 +01:00
better perm
This commit is contained in:
parent
d9a2a6c1f0
commit
4c895cfb21
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ func TestRun(t *testing.T) {
|
|||
t.Error(msg)
|
||||
return
|
||||
}
|
||||
err = os.WriteFile("dns.txt", []byte(body.Target), 0x777)
|
||||
err = os.WriteFile("dns.txt", []byte(body.Target), 0x644)
|
||||
if err != nil {
|
||||
msg := fmt.Sprintf("could write dns.txt: %v", err)
|
||||
http.Error(w, msg, http.StatusInternalServerError)
|
||||
|
|
Loading…
Add table
Reference in a new issue