Fix drop database InfluxQL statement

pull/10616/head
Chris Goller 2017-03-23 13:33:46 -07:00
parent c52742a901
commit 7071f7b1a8
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func (c *Client) CreateDB(ctx context.Context, db *chronograf.Database) (*chrono
func (c *Client) DropDB(ctx context.Context, database string) error {
_, err := c.Query(ctx, chronograf.Query{
Command: fmt.Sprintf(`DROP DATABASE`),
Command: fmt.Sprintf(`DROP DATABASE "%s"`, database),
DB: database,
})
if err != nil {