B #3622: Allow VM groups to be created by GOCA (#3623)

This commit is contained in:
Eric Ripa authored and Ruben S. Montero committed 2019-09-24 14:55:46 +02:00
1 parent af200b1d3e
commit 697efec1d2
1 file changed
+1 -1
+1 -1
View File
@@ -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