From 251fe68035b938e64a4b4cf89113af0fd452281e Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Mon, 29 Jul 2013 12:10:59 -0300 Subject: [PATCH] Cache the output of Driver#version --- lib/vagrant-lxc/driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-lxc/driver.rb b/lib/vagrant-lxc/driver.rb index 3c508d8..84da6e5 100644 --- a/lib/vagrant-lxc/driver.rb +++ b/lib/vagrant-lxc/driver.rb @@ -93,7 +93,7 @@ module Vagrant end def version - @cli.version + @version ||= @cli.version end # TODO: This needs to be reviewed and specs needs to be written