Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
lxc config unset acontainer aninvalidconfigkey doesn't generate an error #1477
Comments
|
That's because the invalid key never actually hits the server, otherwise it sure would generate an error. What's happening is that the client pulls the current config, then unsets the key and pushes back the config. If the key doesn't exist to begin with, no errors are raised. So we can't really raise an "invalid key" error, but we can have the client raise a "unsetting a key that's not set" error. |
|
On Thu, Jan 07, 2016 at 12:49:08PM -0800, Stéphane Graber wrote:
Yep, when I looked at writing a patch before filing this it's actually |
tych0 commentedJan 7, 2016
No description provided.