acme: make fmt

pull/242/head
David Cowden 4 years ago
parent 05780554d2
commit 6c39439008

@ -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
}

@ -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…
Cancel
Save