func Update(rp *object.ResourcePool, name string, spec *types.ResourceConfigSpec) error {
	log.Printf("[DEBUG] Updating resource pool %q", fmt.Sprintf("%s", rp.InventoryPath))
	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	return rp.UpdateConfig(ctx, name, spec)
}
func Update(rp *object.ResourcePool, name string, spec *types.ResourceConfigSpec) error {
	log.Printf("[DEBUG] Updating resource pool %q", fmt.Sprintf("%s", rp.InventoryPath))
	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	return rp.UpdateConfig(ctx, name, spec)
}
func Update ( rp * object . ResourcePool , name string , spec * types . ResourceConfigSpec ) error { log . Printf ( " " , fmt . Sprintf ( " " , rp . InventoryPath ) ) ctx , cancel := context . WithTimeout ( context . Background ( ) , provider . DefaultAPITimeout ) defer cancel ( ) return rp . UpdateConfig ( ctx , name , spec ) }
// Update updates a ResourcePool.
Update updates a ResourcePool .