Skip bucket auto detection in case the bucket can't be auto detected [GH-94]
This commit is contained in:
parent
2a17bc4f1d
commit
8d48dacf24
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module VagrantPlugins
|
||||||
|
|
||||||
def self.auto_detect(env)
|
def self.auto_detect(env)
|
||||||
@buckets.each do |bucket|
|
@buckets.each do |bucket|
|
||||||
if env[:machine].guest.capability?(bucket.capability)
|
if bucket.respond_to?(:capability) && env[:machine].guest.capability?(bucket.capability)
|
||||||
env[:machine].config.cache.enable bucket.bucket_name
|
env[:machine].config.cache.enable bucket.bucket_name
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue