func dbStoragePoolDeleteAndUpdateCache(db *db.Cluster, poolName string) error {
	_, err := db.StoragePoolDelete(poolName)
	if err != nil {
		return err
	}

	// Update the storage drivers cache in api_1.0.go.
	storagePoolDriversCacheUpdate(db)

	return err
}
func dbStoragePoolDeleteAndUpdateCache(db *db.Cluster, poolName string) error {
	_, err := db.StoragePoolDelete(poolName)
	if err != nil {
		return err
	}

	
	storagePoolDriversCacheUpdate(db)

	return err
}
func dbStoragePoolDeleteAndUpdateCache ( db * db . Cluster , poolName string ) error { _ , err := db . StoragePoolDelete ( poolName ) if err != nil { return err } // Update the storage drivers cache in api_1.0.go. storagePoolDriversCacheUpdate ( db ) return err }
// Helper around the low-level DB API, which also updates the driver names
// cache.
Helper around the low - level DB API which also updates the driver names cache .