 # the default value to add, if no storage is defined.
 DEFAULT_STORAGE_USAGE = 3
 
-reviveProvisioners = (client, provisioners, callback, revive = no)->
+reviveProvisioners = (client, provisioners, callback, revive = no) ->
 
   if not revive or not provisioners or provisioners.length is 0
     return callback null, provisioners

      callback err, planData


checkUsage = (usage, plan, storage)->

  err = null
  if usage.total + 1 > plan.total


    shouldReviveProvider ?= yes

    { provider, credential, provisioners } = options

    if shouldReviveProvider
      if not provider or not provider_ = PROVIDERS[provider]
        return callback new KodingError 'No such provider.', 'ProviderNotFound'
      else
        provider_.slug   = provider
        options.provider = provider_

    reviveClient client, (err, revivedClient) =>

      return callback err       if err
      client.r = revivedClient  if revivedClient?
