 		streamUtils.buffer(imageStream, bufferFile)
 		.tap (bufferedStream) ->
 			bufferedStream.length = imageSize
-
-getSpinner = (message) ->
-	visuals = require('resin-cli-visuals')
-	return new visuals.Spinner(message)
 
 showPushProgress = (message) ->
 	visuals = require('resin-cli-visuals')

	args = querystring.stringify({ owner, app, buildId })
	"https://builder.#{baseUrl}/v1/pushLogs?#{args}"

formatImageName = (image) ->
	image.split('/').pop()

bufferImage = (docker, imageId, bufferFile) ->
	Promise = require('bluebird')
	streamUtils = require('./streams')

- shouldUploadLogs
###
module.exports = (docker, logger, token, username, url, opts) ->
	tmp = require('tmp')
	tmpNameAsync = Promise.promisify(tmp.tmpName)

