canonical/pylxd

Can't set or update profile description

hadmut opened this issue · 1 comments

hadmut commented

Hi,

following
https://pylxd.readthedocs.io/en/latest/profiles.html
and testing around with 2.2.10-1 coming with ubuntu 22.04, there seems to be no way to set or change the description of a profile.

While, in contrast, projects take a description= parameter for creation and do accept
project.description = descr
project.save()
to change it later, both working well,

there seems to be no such thing for profiles.

hadmut commented

sorry, made a mistake,
profile.description = descr
profile.save()
works, but creation doesn't take the argument.