[lxc/lxc] 2fde07: api: ->save_config() doesn't need to create contai...

0 views
Skip to first unread message

Christian Brauner

unread,
Nov 29, 2021, 11:26:19 AM11/29/21
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 2fde07c3990fe09925699da5d9a1762eb279c497
https://github.com/lxc/lxc/commit/2fde07c3990fe09925699da5d9a1762eb279c497
Author: Tycho Andersen <ty...@tycho.pizza>
Date: 2021-11-29 (Mon, 29 Nov 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
api: ->save_config() doesn't need to create container dir

If we're saving the config file to somewhere that's *not* the container
dir, we don't need to create the container dir. Let's not do this and
thus not require its parent to exist, which can be confusing, especially in
light of the sparse logging through these functions.

Signed-off-by: Tycho Andersen <ty...@tycho.pizza>


Commit: 030e1aaad5387feacc2c802bbb1e60ec5aee820c
https://github.com/lxc/lxc/commit/030e1aaad5387feacc2c802bbb1e60ec5aee820c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-11-29 (Mon, 29 Nov 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
Merge pull request #4039 from tych0/config-no-container-dir

api: ->save_config() doesn't need to create container dir


Compare: https://github.com/lxc/lxc/compare/6a9cbecdaafd...030e1aaad538
Reply all
Reply to author
Forward
0 new messages