mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Merge branch 'master' of git.opennebula.org:faf-71
This commit is contained in:
commit
8dbf56363b
@ -255,6 +255,9 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
EOT
|
||||
|
||||
command :del_provider, del_provider_desc, [:range, :groupid_list], :zoneid, :clusterid do
|
||||
if args[2] and args[2].class != Fixnum and args[2].upcase == "ALL"
|
||||
args[2]=10
|
||||
end
|
||||
helper.perform_actions(args[0],options,"resource provider deleted") do |obj|
|
||||
obj.del_provider(args[1].to_i, args[2].to_i)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user