mirror of
https://github.com/joohoi/acme-dns.git
synced 2025-07-13 01:07:38 +07:00
Better DB test coverage
This commit is contained in:
4
util.go
4
util.go
@ -50,13 +50,13 @@ func sanitizeDomainQuestion(d string) string {
|
||||
return dom
|
||||
}
|
||||
|
||||
func newACMETxt() (ACMETxt, error) {
|
||||
func newACMETxt() ACMETxt {
|
||||
var a = ACMETxt{}
|
||||
password := generatePassword(40)
|
||||
a.Username = uuid.NewV4()
|
||||
a.Password = password
|
||||
a.Subdomain = uuid.NewV4().String()
|
||||
return a, nil
|
||||
return a
|
||||
}
|
||||
|
||||
func setupLogging(format string, level string) {
|
||||
|
Reference in New Issue
Block a user