This commit is contained in:
parent
b20b1719bd
commit
dc90ed4488
|
@ -36,8 +36,6 @@ func (u *User) GetEntry(cfg *config.Config, domains []string) (Entry cert.Entry,
|
||||||
fmt.Sprintf("validity_end::timestamp-'%d DAY'::INTERVAL >= now()", cfg.ACME.MaxDaysBefore)).Desc(
|
fmt.Sprintf("validity_end::timestamp-'%d DAY'::INTERVAL >= now()", cfg.ACME.MaxDaysBefore)).Desc(
|
||||||
"id").Get(&Entry)
|
"id").Get(&Entry)
|
||||||
|
|
||||||
fmt.Println(has, err)
|
|
||||||
|
|
||||||
if !has {
|
if !has {
|
||||||
err = fmt.Errorf("entry doesn't exists")
|
err = fmt.Errorf("entry doesn't exists")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user