From 92011e5337ed78fff86b7fe914d588d4eeb80bc2 Mon Sep 17 00:00:00 2001 From: Taliesin Sisson Date: Wed, 7 Dec 2016 09:28:08 +0000 Subject: [PATCH] The key shouldn't change for looking up localized message --- lib/vSphere/driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vSphere/driver.rb b/lib/vSphere/driver.rb index dcaddc79..94c12ccb 100644 --- a/lib/vSphere/driver.rb +++ b/lib/vSphere/driver.rb @@ -543,7 +543,7 @@ def get_network_by_name(dc, name) end end - puts I18n.t( :missing_vlan + ' - ' + name) + puts I18n.t(:missing_vlan) + ' - ' + name fail(Errors::VSphereError, :missing_vlan) if base.nil?