canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.63k stars 635 forks source link

[lxd] Throw not-impl exception from LXD suspend #3381

Closed ricab closed 7 months ago

ricab commented 7 months ago

Replace the existing runtime error with proper not-implemented exception.

townsend2010 commented 7 months ago

Hey @ricab!

Need to fix the corresponding test: https://github.com/canonical/multipass/actions/runs/7610771039/job/20724821675?pr=3381#step:14:8963

Thanks!

ricab commented 7 months ago

Done @townsend2010, thanks for pointing it out!

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (dd25b5b) 84.17% compared to head (ccaa6f8) 84.17%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3381 +/- ## ======================================= Coverage 84.17% 84.17% ======================================= Files 251 251 Lines 13816 13816 ======================================= Hits 11630 11630 Misses 2186 2186 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.