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

lxd/migration: Fix handling of missing profiles #5558

Merged
merged 1 commit into from Mar 11, 2019

Conversation

2 participants
@stgraber
Copy link
Member

stgraber commented Mar 11, 2019

When Profiles is set to nil, we default to the default profile.

This is normally done by ContainerCreateInternal but in the migration
case we actually need a list of profiles before that's called, so let's
fill it ahead of time.

Signed-off-by: Stéphane Graber stgraber@ubuntu.com

lxd/migration: Fix handling of missing profiles
When Profiles is set to nil, we default to the default profile.

This is normally done by ContainerCreateInternal but in the migration
case we actually need a list of profiles before that's called, so let's
fill it ahead of time.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

@brauner brauner merged commit c01d634 into lxc:master Mar 11, 2019

4 of 5 checks passed

Testsuite Test started
Details
Branch target Branch target is correct
Details
DCO All commits signed-off
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.