deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1181722 - /incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_client.rb
Date Tue, 11 Oct 2011 11:38:47 GMT
Author: mfojtik
Date: Tue Oct 11 11:38:47 2011
New Revision: 1181722

URL: http://svn.apache.org/viewvc?rev=1181722&view=rev
Log:
RHEV-M: Removed base64 decoding from user_data. User data are now passed to the instance as
they come from the client.

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_client.rb

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_client.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_client.rb?rev=1181722&r1=1181721&r2=1181722&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_client.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_client.rb Tue Oct
11 11:38:47 2011
@@ -15,7 +15,6 @@
 #
 
 require 'rubygems'
-require 'base64'
 require 'restclient'
 require 'nokogiri'
 require 'digest/md5'
@@ -124,7 +123,7 @@ module RHEVM
                 #
                 custom_property({
                   :name => "floppyinject",
-                  :value => "#{RHEVM::FILEINJECT_PATH}:#{Base64.decode64(opts[:user_data])}",
+                  :value => "#{RHEVM::FILEINJECT_PATH}:#{opts[:user_data]}",
                   :regexp => "^([^:]+):(.*)$"})
               }
             else



Mime
View raw message