lxd/db/containers.go
func (c *Cluster) ContainerPool(project, containerName string) (string, error) {
	var poolName string
	err := c.Transaction(func(tx *ClusterTx) error {
		var err error
		poolName, err = tx.ContainerPool(project, containerName)
		return err
	})
	return poolName, err
}
func (c *Cluster) ContainerPool(project, containerName string) (string, error) {
	var poolName string
	err := c.Transaction(func(tx *ClusterTx) error {
		var err error
		poolName, err = tx.ContainerPool(project, containerName)
		return err
	})
	return poolName, err
}
// ContainerPool returns the storage pool of a given container.
//
// This is a non-transactional variant of ClusterTx.ContainerPool().