Skip to content

Commit

Permalink
include dynamodb in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayan Samanta committed Mar 31, 2020
1 parent f259947 commit afde6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ratelimiter/ratelimiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func resolveBucketStore(config map[string]string) (leakybucket.Storage, error) {

switch config["type"] {
default:
return nil, errors.New("must specify one of 'redis' or 'memory' storage")
return nil, errors.New("must specify one of 'redis', 'dynamodb', or 'memory' storage")
case "memory":
return leakybucketMemory.New(), nil
case "redis":
Expand Down

0 comments on commit afde6c2

Please sign in to comment.