parent
9ba77a5ed5
commit
ff36a46178
|
@ -11,7 +11,7 @@ module Vagrant
|
||||||
class Downloader
|
class Downloader
|
||||||
# Custom user agent provided to cURL so that requests to URL shorteners
|
# Custom user agent provided to cURL so that requests to URL shorteners
|
||||||
# are properly tracked.
|
# are properly tracked.
|
||||||
USER_AGENT = "Vagrant cURL Downloader"
|
USER_AGENT = "Vagrant/#{VERSION}"
|
||||||
|
|
||||||
def initialize(source, destination, options=nil)
|
def initialize(source, destination, options=nil)
|
||||||
@logger = Log4r::Logger.new("vagrant::util::downloader")
|
@logger = Log4r::Logger.new("vagrant::util::downloader")
|
||||||
|
|
Loading…
Reference in New Issue