Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume check in migration #2770

Merged
merged 1 commit into from Mar 19, 2019
Merged

Volume check in migration #2770

merged 1 commit into from Mar 19, 2019

Conversation

sonicaj
Copy link
Member

@sonicaj sonicaj commented Mar 19, 2019

This commit checks if a volume exists before selecting the first volume as in the case where we don't have any volumes i.e build, this will result in a failure.

@sonicaj sonicaj self-assigned this Mar 19, 2019
@sonicaj sonicaj requested a review from william-gr March 19, 2019 09:36
Copy link
Member

@william-gr william-gr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets simplify the diff

if not volumes:
return

This commit checks if a volume exists before selecting the first volume as in the case where we don't have any volumes i.e build, this will result in a failure.
@william-gr
Copy link
Member

Please squash and merge

@sonicaj
Copy link
Member Author

sonicaj commented Mar 19, 2019

There only is one commit ? :p

@sonicaj sonicaj merged commit 4d13f04 into master Mar 19, 2019
@sonicaj sonicaj deleted the issues/migration branch March 19, 2019 10:57
@william-gr
Copy link
Member

I am on mobile :)

@sonicaj
Copy link
Member Author

sonicaj commented Mar 19, 2019

Already done, no worries ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants