func (c *Controller) DeleteContainer(name string) error {
	device, err := c.getDevice(name)
	if err != nil {
		return err
	}

	err = device.Delete()
	if err != nil {
		return err
	}

	return nil
}
func (c *Controller) DeleteContainer(name string) error {
	device, err := c.getDevice(name)
	if err != nil {
		return err
	}

	err = device.Delete()
	if err != nil {
		return err
	}

	return nil
}
func ( c * Controller ) DeleteContainer ( name string ) error { device , err := c . getDevice ( name ) if err != nil { return err } err = device . Delete ( ) if err != nil { return err } return nil }
// DeleteContainer removes the MAAS device for the container
DeleteContainer removes the MAAS device for the container