Skip to content

Commit

Permalink
Minor, yet breaking tweaks that were missed in the merging of grafana…
Browse files Browse the repository at this point in the history
…#1133

Signed-off-by: Ken Haines <khaines@ea.com>
  • Loading branch information
Ken Haines committed Jan 10, 2019
1 parent 3e1384a commit 9322582
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion aws/dynamodb_table_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (d dynamoTableClient) CreateTable(ctx context.Context, desc chunk.TableDesc

func (d dynamoTableClient) DeleteTable(ctx context.Context, name string) error {
if err := d.backoffAndRetry(ctx, func(ctx context.Context) error {
return instrument.TimeRequestHistogram(ctx, "DynamoDB.DeleteTable", dynamoRequestDuration, func(ctx context.Context) error {
return instrument.CollectedRequest(ctx, "DynamoDB.DeleteTable", dynamoRequestDuration, instrument.ErrorCode, func(ctx context.Context) error {
input := &dynamodb.DeleteTableInput{TableName: aws.String(name)}
_, err := d.DynamoDB.DeleteTableWithContext(ctx, input)
if err != nil {
Expand Down
4 changes: 4 additions & 0 deletions local/boltdb_table_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ func (c *tableClient) CreateTable(ctx context.Context, desc chunk.TableDesc) err
return nil
}

func (c *tableClient) DeleteTable(ctx context.Context, name string) error {
return nil
}

func (c *tableClient) DescribeTable(ctx context.Context, name string) (desc chunk.TableDesc, isActive bool, err error) {
return chunk.TableDesc{
Name: name,
Expand Down

0 comments on commit 9322582

Please sign in to comment.