client/lxd_images.go
func (r *ProtocolLXD) UpdateImage(fingerprint string, image api.ImagePut, ETag string) error {
	// Send the request
	_, _, err := r.query("PUT", fmt.Sprintf("/images/%s", url.QueryEscape(fingerprint)), image, ETag)
	if err != nil {
		return err
	}

	return nil
}
func (r *ProtocolLXD) UpdateImage(fingerprint string, image api.ImagePut, ETag string) error {
	// Send the request
	_, _, err := r.query("PUT", fmt.Sprintf("/images/%s", url.QueryEscape(fingerprint)), image, ETag)
	if err != nil {
		return err
	}

	return nil
}
func ( r * ProtocolLXD ) UpdateImage ( fingerprint string , image api . ImagePut , ETag string ) error { // Send the request _ , _ , err := r . query ( " " , fmt . Sprintf ( " " , url . QueryEscape ( fingerprint ) ) , image , ETag ) if err != nil { return err } return nil }
// UpdateImage updates the image definition
UpdateImage updates the image definition