Skip to content

Commit

Permalink
removed dynamo option, to make storage client names consistent for al…
Browse files Browse the repository at this point in the history
…l components (grafana#1728)

Signed-off-by: Roger Steneteg <rsteneteg@ea.com>
  • Loading branch information
rsteneteg authored and gouthamve committed Nov 10, 2019
1 parent 1f078de commit 4bed557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func NewIndexClient(name string, cfg Config, schemaCfg chunk.SchemaConfig) (chun
case "inmemory":
store := chunk.NewMockStorage()
return store, nil
case "aws", "aws-dynamo", "dynamo":
case "aws", "aws-dynamo":
if cfg.AWSStorageConfig.DynamoDB.URL == nil {
return nil, fmt.Errorf("Must set -dynamodb.url in aws mode")
}
Expand Down Expand Up @@ -150,7 +150,7 @@ func NewObjectClient(name string, cfg Config, schemaCfg chunk.SchemaConfig) (chu
return store, nil
case "aws", "s3":
return aws.NewS3ObjectClient(cfg.AWSStorageConfig, schemaCfg)
case "aws-dynamo", "dynamo":
case "aws-dynamo":
if cfg.AWSStorageConfig.DynamoDB.URL == nil {
return nil, fmt.Errorf("Must set -dynamodb.url in aws mode")
}
Expand Down

0 comments on commit 4bed557

Please sign in to comment.