Skip to content

Commit

Permalink
conf{,ile}: warn user once about legacy config
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Aug 21, 2017
1 parent 54a2454 commit 7ec2e32
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 108 deletions.
6 changes: 6 additions & 0 deletions src/lxc/conf.h
Expand Up @@ -408,6 +408,12 @@ struct lxc_conf {

/* RLIMIT_* limits */
struct lxc_list limits;

/* REMOVE IN LXC 3.0
* Indicator whether the current config file we're using contained any
* legacy configuration keys.
*/
bool contains_legacy_key;
};

#ifdef HAVE_TLS
Expand Down

0 comments on commit 7ec2e32

Please sign in to comment.