From a93d23768e1172a73171cd251efcbf45a25e7a96 Mon Sep 17 00:00:00 2001 From: geemus Date: Fri, 14 Jan 2011 10:51:41 -0800 Subject: [PATCH] fix deprecation and copy/paste error --- lib/fog/bin/bluebox.rb | 4 ++-- lib/fog/core/credentials.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fog/bin/bluebox.rb b/lib/fog/bin/bluebox.rb index 6811d0d39..6590e9dc4 100644 --- a/lib/fog/bin/bluebox.rb +++ b/lib/fog/bin/bluebox.rb @@ -18,9 +18,9 @@ class Bluebox < Fog::Bin warning = "[yellow][WARN] Bluebox[:blocks] is deprecated, use Bluebox[:compute] instead[/]" warning << " [light_black](" << location << ")[/] " Formatador.display_line(warning) - Fog::Compute.new(:provider => 'Brightbox') + Fog::Compute.new(:provider => 'Bluebox') when :compute - Fog::Compute.new(:provider => 'Brightbox') + Fog::Compute.new(:provider => 'Bluebox') else raise ArgumentError, "Unrecognized service: #{service}" end diff --git a/lib/fog/core/credentials.rb b/lib/fog/core/credentials.rb index 46dad801d..398db2034 100644 --- a/lib/fog/core/credentials.rb +++ b/lib/fog/core/credentials.rb @@ -47,7 +47,7 @@ private <<-YML Missing Credentials -To run as '#{credential}', add the following to your resource config file: #{config_path} +To run as '#{credential}', add the following to your resource config file: #{credentials_path} An alternate file may be used by placing its path in the FOG_RC environment variable #######################################################