func (s *storageZfs) StoragePoolInit() error {
	err := s.StorageCoreInit()
	if err != nil {
		return err
	}

	// Detect whether we have been given a zfs dataset as source.
	if s.pool.Config["zfs.pool_name"] != "" {
		s.dataset = s.pool.Config["zfs.pool_name"]
	}

	return nil
}
func (s *storageZfs) StoragePoolInit() error {
	err := s.StorageCoreInit()
	if err != nil {
		return err
	}

	
	if s.pool.Config["zfs.pool_name"] != "" {
		s.dataset = s.pool.Config["zfs.pool_name"]
	}

	return nil
}
func ( s * storageZfs ) StoragePoolInit ( ) error { err := s . StorageCoreInit ( ) if err != nil { return err } // Detect whether we have been given a zfs dataset as source. if s . pool . Config [ " " ] != " " { s . dataset = s . pool . Config [ " " ] } return nil }
// Functions dealing with storage pools.
Functions dealing with storage pools .