mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Bug #2671: Add ALL translation to del_provider
This commit is contained in:
parent
ee052ed0d6
commit
912aef0003
@ -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