mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
1 parent
af200b1d3e
commit
697efec1d2
1 file changed
+1
-1
@@ -120,7 +120,7 @@ func (vc *VMGroupController) Info() (*vmgroup.VMGroup, error) {
|
||||
}
|
||||
|
||||
// Create allocates a new vmGroup. It returns the new vmGroup ID.
|
||||
func (vc *VMGroupController) Create(tpl string) (int, error) {
|
||||
func (vc *VMGroupsController) Create(tpl string) (int, error) {
|
||||
response, err := vc.c.Client.Call("one.vmgroup.allocate", tpl)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
|
||||
Reference in new issue
Block a user