forked from TrueCloudLab/certificates
acme: make fmt
This commit is contained in:
parent
05780554d2
commit
6c39439008
4 changed files with 5 additions and 6 deletions
|
@ -322,7 +322,7 @@ func (a *Authority) ValidateChallenge(ctx context.Context, accID, chID string, j
|
|||
case StatusInvalid, StatusValid:
|
||||
return ch.toACME(ctx, a.dir)
|
||||
default:
|
||||
e:= errors.Errorf("unknown challenge state: %s", ch.getStatus())
|
||||
e := errors.Errorf("unknown challenge state: %s", ch.getStatus())
|
||||
return nil, ServerInternalErr(e)
|
||||
}
|
||||
|
||||
|
@ -419,7 +419,7 @@ func (a *Authority) RetryChallenge(chID string) {
|
|||
case StatusProcessing:
|
||||
break
|
||||
default:
|
||||
e:= errors.Errorf("unknown challenge state: %s", ch.getStatus())
|
||||
e := errors.Errorf("unknown challenge state: %s", ch.getStatus())
|
||||
log.Printf("%v", e)
|
||||
return
|
||||
}
|
||||
|
|
1
ca/ca.go
1
ca/ca.go
|
@ -61,7 +61,6 @@ func WithDatabase(db db.AuthDB) Option {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// WithOrdinal sets the server's ordinal identifier (an int).
|
||||
func WithOrdinal(ordinal int) Option {
|
||||
return func(o *options) {
|
||||
|
|
Loading…
Add table
Reference in a new issue