[lxc-devel] [PATCH 3/3] Use correct parameter name (default_path instead of lxcpath)

Serge Hallyn serge.hallyn at ubuntu.com
Tue Apr 30 19:06:47 UTC 2013


Quoting S.Çağlar Onur (caglar at 10ur.org):
> Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>

Oh sorry, i didn't update it in enough places did I.

Per Dwight's comment we want this to be lxcpath, but that means
that lxc.functions.in needs to be updated to call 'lxc-config default_path'.
Is there any other place wehre that needs to be changed?

> ---
>  src/lxc/lxc_config.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/lxc/lxc_config.c b/src/lxc/lxc_config.c
> index a454e07..cf19c7b 100644
> --- a/src/lxc/lxc_config.c
> +++ b/src/lxc/lxc_config.c
> @@ -9,7 +9,7 @@ struct lxc_config_items {
>  
>  struct lxc_config_items items[] =
>  {
> -	{ .name = "lxcpath", .fn = &lxc_get_default_config_path, },
> +	{ .name = "default_path", .fn = &lxc_get_default_config_path, },
>  	{ .name = "lvm_vg", .fn = &lxc_get_default_lvm_vg, },
>  	{ .name = "zfsroot", .fn = &lxc_get_default_zfs_root, },
>  	{ .name = NULL, },
> -- 
> 1.8.1.2
> 
> 
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel




More information about the lxc-devel mailing list