Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
fix: resolve typo on the log (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
bxcodec authored Jun 22, 2020
1 parent 86c23d6 commit bf43fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roundtriper.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type CacheHandler struct {
// NewCacheHandlerRoundtrip will create an implementations of cache http roundtripper
func NewCacheHandlerRoundtrip(defaultRoundTripper http.RoundTripper, rfcCompliance bool, cacheActor cache.ICacheInteractor) *CacheHandler {
if cacheActor == nil {
log.Fatal("cache interactor is nil")
log.Fatal("cache storage is not well set")
}
return &CacheHandler{
DefaultRoundTripper: defaultRoundTripper,
Expand Down

0 comments on commit bf43fca

Please sign in to comment.