diff --git a/bin/kaenv3 b/bin/kaenv3 index 9a55a127259d8eaba890526ea2fef5a3cf11251e..7947268770ab92b83131ce608efd3e218a3eb228 100755 --- a/bin/kaenv3 +++ b/bin/kaenv3 @@ -260,6 +260,7 @@ class KaenvsClient < Client tmp[:username] = options[:env_user] || USER tmp[:name] = options[:env_name] tmp[:arch] = options[:env_arch] if options[:env_arch] && !options[:env_arch].empty? + tmp[:version] = options[:env_version] unless options[:env_version].nil? tmp[:last] = true unless options[:env_version] || options[:all_versions] envs = get2(options, api_path("/", :envs), tmp) error("No environment found") if envs.size <= 0