mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Do not use create_resource in onegroup
This commit is contained in:
parent
bc1e66986d
commit
09b840076e
@ -121,9 +121,8 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
if !options.empty?
|
||||
helper.create_complete_resource(options)
|
||||
elsif args[0]
|
||||
helper.create_resource(options) do |group|
|
||||
group.allocate(args[0])
|
||||
end
|
||||
options[:name] = args[0]
|
||||
helper.create_complete_resource(options)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user