       retailerPrices: retailerPrices
       masterPrices: masterPrices
 
+    console.error data
+    data
+
 
   _updatePrices: (retailerPrices, masterPrices, channelId, variantInMaster, retailerCustomerGroupId, masterCustomerGroupId) ->
     actions = []

    prices = @_filterPrices(retailerVariant, variantDataInMaster.variant, retailerCustomerGroup, masterCustomerGroup, retailerChannelInMaster)
    actions = @_updatePrices(prices.retailerPrices, prices.masterPrices, retailerChannelInMaster.id, variantDataInMaster.variant, retailerCustomerGroup.id, masterCustomerGroup.id)
      
    if _.isEmpty actions
      Q({ updates: 0 })

    else

          @taskQueue.addTask _.bind(@_processVariant, this, retailerVariant, retailerCustomerGroup, masterCustomerGroup, retailerChannelInMaster)
        Q.all(v)
        .then (infos) ->
          _.reduce infos, ((acc, info) -> acc + info.updates), 0

  _processVariant: (retailerVariant, retailerCustomerGroup, masterCustomerGroup, retailerChannelInMaster) ->
    @getPublishedVariantByMasterSku(@masterClient, retailerVariant)
