deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: DTACLOUD-416 do not base64 encode the user data
Date Thu, 07 Feb 2013 14:36:23 GMT
Updated Branches:
  refs/heads/master 49d668b00 -> cdcf0eb5c


DTACLOUD-416 do not base64 encode the user data


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/cdcf0eb5
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/cdcf0eb5
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/cdcf0eb5

Branch: refs/heads/master
Commit: cdcf0eb5c41d0968d8c7fc79ecec1f995f9431a4
Parents: 49d668b
Author: Joe VLcek <jvlcek@redhat.com>
Authored: Thu Jan 31 17:11:13 2013 -0500
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Thu Feb 7 15:36:02 2013 +0100

----------------------------------------------------------------------
 .../drivers/openstack/openstack_driver.rb          |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/cdcf0eb5/server/lib/deltacloud/drivers/openstack/openstack_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/openstack/openstack_driver.rb b/server/lib/deltacloud/drivers/openstack/openstack_driver.rb
index b9be595..00b95aa 100644
--- a/server/lib/deltacloud/drivers/openstack/openstack_driver.rb
+++ b/server/lib/deltacloud/drivers/openstack/openstack_driver.rb
@@ -16,7 +16,6 @@
 
 require 'openstack'
 require 'tempfile'
-require 'base64'
 
 module Deltacloud
   module Drivers
@@ -183,7 +182,7 @@ module Deltacloud
             params[:key_name]=opts[:keyname]
           end
           if opts[:user_data] && opts[:user_data].length > 0
-            params[:user_data]=Base64.encode64(opts[:user_data])
+            params[:user_data]=opts[:user_data]
           end
           safely do
             server = os.create_server(params)


Mime
View raw message