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

Device: Fix crash when none type device is added to running instance #13775

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

tomponline
Copy link
Member

@tomponline tomponline commented Jul 16, 2024

Fixes #13774

…urn run config when being live updated

Fixes canonical#13774

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
@tomponline tomponline self-assigned this Jul 16, 2024
@@ -0,0 +1,21 @@
test_container_devices_none() {

Check failure

Code scanning / shellcheck

SC2148 Error test

Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Copy link
Member Author

Choose a reason for hiding this comment

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

@simondeziel do you know why we are getting this, but not on the existing files?

Copy link
Member

Choose a reason for hiding this comment

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

It's something I'm trying to address in #13776

Useful to catch missing runConf != nil issues.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
@tomponline
Copy link
Member Author

@simondeziel would u mind approving this so i can merge n Cherry pick the fix?

Copy link
Member

@MusicDin MusicDin left a comment

Choose a reason for hiding this comment

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

Thanks

@tomponline tomponline merged commit 6085483 into canonical:main Jul 16, 2024
26 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug][6.1] : lxc config device add <device_name> eth0 none fails with ws error
3 participants