lxd/container_lxc.go
func (c *containerLXC) initStorage() error {
	if c.storage != nil {
		return nil
	}

	s, err := storagePoolVolumeContainerLoadInit(c.state, c.Project(), c.Name())
	if err != nil {
		return err
	}

	c.storage = s

	return nil
}
func (c *containerLXC) initStorage() error {
	if c.storage != nil {
		return nil
	}

	s, err := storagePoolVolumeContainerLoadInit(c.state, c.Project(), c.Name())
	if err != nil {
		return err
	}

	c.storage = s

	return nil
}
func ( c * containerLXC ) initStorage ( ) error { if c . storage != nil { return nil } s , err := storagePoolVolumeContainerLoadInit ( c . state , c . Project ( ) , c . Name ( ) ) if err != nil { return err } c . storage = s return nil }
// Initialize storage interface for this container
Initialize storage interface for this container