client/lxd_containers.go
func (r *ProtocolLXD) UpdateContainer(name string, container api.ContainerPut, ETag string) (Operation, error) {
	// Send the request
	op, _, err := r.queryOperation("PUT", fmt.Sprintf("/containers/%s", url.QueryEscape(name)), container, ETag)
	if err != nil {
		return nil, err
	}

	return op, nil
}
func (r *ProtocolLXD) UpdateContainer(name string, container api.ContainerPut, ETag string) (Operation, error) {
	// Send the request
	op, _, err := r.queryOperation("PUT", fmt.Sprintf("/containers/%s", url.QueryEscape(name)), container, ETag)
	if err != nil {
		return nil, err
	}

	return op, nil
}
func ( r * ProtocolLXD ) UpdateContainer ( name string , container api . ContainerPut , ETag string ) ( Operation , error ) { // Send the request op , _ , err := r . queryOperation ( " " , fmt . Sprintf ( " " , url . QueryEscape ( name ) ) , container , ETag ) if err != nil { return nil , err } return op , nil }
// UpdateContainer updates the container definition
UpdateContainer updates the container definition