deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 24/26] SBC: Renamed the driver class to match with common pattern
Date Tue, 15 May 2012 15:15:56 GMT
From: Michal Fojtik <mfojtik@redhat.com>


Signed-off-by: Michal fojtik <mfojtik@redhat.com>
---
 server/lib/deltacloud/drivers/sbc/sbc_client.rb |    2 +-
 server/lib/deltacloud/drivers/sbc/sbc_driver.rb |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/server/lib/deltacloud/drivers/sbc/sbc_client.rb b/server/lib/deltacloud/drivers/sbc/sbc_client.rb
index a0e36cb..97e89ca 100644
--- a/server/lib/deltacloud/drivers/sbc/sbc_client.rb
+++ b/server/lib/deltacloud/drivers/sbc/sbc_client.rb
@@ -21,7 +21,7 @@ require 'digest/md5'
 
 module Deltacloud
   module Drivers
-    module SBC
+    module Sbc
 
 class FixtureNotFound < Exception; end
 
diff --git a/server/lib/deltacloud/drivers/sbc/sbc_driver.rb b/server/lib/deltacloud/drivers/sbc/sbc_driver.rb
index c7b109e..2e09a15 100644
--- a/server/lib/deltacloud/drivers/sbc/sbc_driver.rb
+++ b/server/lib/deltacloud/drivers/sbc/sbc_driver.rb
@@ -15,17 +15,17 @@
 # under the License.
 
 require 'nokogiri'
-require 'deltacloud/drivers/sbc/sbc_client'
+require_relative './sbc_client'
 
 module Deltacloud
   module Drivers
-    module SBC
+    module Sbc
 #
 # Driver for the IBM Smart Business Cloud (SBC).
 #
 # 31 January 2011
 #
-class SBCDriver < Deltacloud::BaseDriver
+class SbcDriver < Deltacloud::BaseDriver
   #
   # Retrieves images
   #
-- 
1.7.10.1


Mime
View raw message