lxd/db/images.go
func (c *Cluster) ImageAliasUpdate(id int, imageID int, desc string) error {
	stmt := `UPDATE images_aliases SET image_id=?, description=? WHERE id=?`
	err := exec(c.db, stmt, imageID, desc, id)
	return err
}
func (c *Cluster) ImageAliasUpdate(id int, imageID int, desc string) error {
	stmt := `UPDATE images_aliases SET image_id=?, description=? WHERE id=?`
	err := exec(c.db, stmt, imageID, desc, id)
	return err
}
func ( c * Cluster ) ImageAliasUpdate ( id int , imageID int , desc string ) error { stmt := `UPDATE images_aliases SET image_id=?, description=? WHERE id=?` err := exec ( c . db , stmt , imageID , desc , id ) return err }
// ImageAliasUpdate updates the alias with the given ID.
ImageAliasUpdate updates the alias with the given ID .