Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
  • Loading branch information
Daniel Morsing committed Feb 6, 2019
1 parent ec1305c commit 3fda9be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/acme/client/fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,7 @@ func (f *FakeACME) Discover(ctx context.Context) (acme.Directory, error) {
if f.FakeDiscover != nil {
return f.FakeDiscover(ctx)
}
return acme.Directory{}, fmt.Errorf("Discover not implemented")
// We only use Discover to find CAAIdentities, so returning an
// empty directory here will be fine
return acme.Directory{}, nil
}

0 comments on commit 3fda9be

Please sign in to comment.