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

perm decimal

This commit is contained in:
oliverpool 2023-08-19 20:27:41 +02:00
parent 4c895cfb21
commit 4993f9cae9

View file

@ -78,7 +78,7 @@ func TestRun(t *testing.T) {
t.Error(msg)
return
}
err = os.WriteFile("dns.txt", []byte(body.Target), 0x644)
err = os.WriteFile("dns.txt", []byte(body.Target), 0644)
if err != nil {
msg := fmt.Sprintf("could write dns.txt: %v", err)
http.Error(w, msg, http.StatusInternalServerError)