claudyus / LXC-Web-Panel

LXC Web Panel improved for lxc 1.0+
http://claudyus.github.io/LXC-Web-Panel/
Other
221 stars 68 forks source link

On edit container page, saving the containers bucket token twice inserts two rows #33

Open robvdl opened 10 years ago

robvdl commented 10 years ago

When you save or update the bucket token of a container, it always does an insert.

What it should be doing, is if you change a containers bucket token, is do an update on the existing record.

I already fixed this in my version, but I am using SQLAlchemy.