Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Create db only if doesn't exist yet #276

Merged
merged 1 commit into from
Jan 3, 2016
Merged

Create db only if doesn't exist yet #276

merged 1 commit into from
Jan 3, 2016

Conversation

slomek
Copy link
Contributor

@slomek slomek commented Dec 5, 2015

This is a follow-up of #274

@aviau
Copy link
Collaborator

aviau commented Dec 8, 2015

@slomek Have you taken a look at the tests failures?

@slomek
Copy link
Contributor Author

slomek commented Dec 8, 2015

Yep, I've had some issues with running them locally. I've changed the default behaviour to create dbs if they do not exist, but also added a flag if you want to fail anyway (and not to delete one of your tests). This breaks backward compatibility a little, but in my opinion it would be better this way.

@slomek
Copy link
Contributor Author

slomek commented Dec 14, 2015

@aviau Can you merge this or is there anything else I should fix first?

@aviau
Copy link
Collaborator

aviau commented Jan 2, 2016

@slomek I am sorry for the long response time. Can you please switch the default around? Some people may rely on this throwing exceptions and I think its a saner default.

I will merge right after!

@slomek
Copy link
Contributor Author

slomek commented Jan 3, 2016

No problem, @aviau. Take a look on it now.

@aviau
Copy link
Collaborator

aviau commented Jan 3, 2016

Thanks!!

aviau added a commit that referenced this pull request Jan 3, 2016
Create db only if doesn't exist yet (Thanks @slomek !)
@aviau aviau merged commit 3c16b16 into influxdata:master Jan 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants