Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 96b5b76f authored by Alexandre MERLIN's avatar Alexandre MERLIN
Browse files

[kaenv] correctly process --env_version in kaenv

parent 0c419e06
No related branches found
No related tags found
No related merge requests found
Pipeline #394227 waiting for manual action
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment