lxd
lxd copied to clipboard
API: Unembed Put structs from Get structs
Unembed Put structs from Get structs.
Fixes https://github.com/canonical/lxd/issues/12993
@MusicDin please may you rebase on https://github.com/canonical/lxd/pull/13045 as i intend to merge that one before this and it contains some API struct changes.
@MusicDin ive merged https://github.com/canonical/lxd/pull/13045 so can be rebased now.
Looks good, just a few places that are removing white space from queries unrelated to commit message.
Fixed.
Seems I've broke something.. Looking into it.
@MusicDin it looks fixed now, what was the issue? Thanks
Yep. I accidentally unset Driver
field in StoragePool struct (in lxd/api_internal_recover
) when changing to SetWritable().
Thanks!