From 0edd5157fdb3e7f9eed10c4017f3497720171a54 Mon Sep 17 00:00:00 2001 From: Patrick Debois Date: Mon, 12 Sep 2011 17:10:12 +0300 Subject: [PATCH] Made libvirt username param consistent with other providers libvirt_user -> libvirt_username --- lib/fog/libvirt/compute.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/libvirt/compute.rb b/lib/fog/libvirt/compute.rb index 99715c5d5..aa9fc7440 100644 --- a/lib/fog/libvirt/compute.rb +++ b/lib/fog/libvirt/compute.rb @@ -46,10 +46,10 @@ module Fog require 'libvirt' begin - if options[:libvirt_user] and options[:libvirt_password] + if options[:libvirt_username] and options[:libvirt_password] @connection = ::Libvirt::open_auth(@uri.uri, [::Libvirt::CRED_AUTHNAME, ::Libvirt::CRED_PASSPHRASE]) do |cred| if cred['type'] == ::Libvirt::CRED_AUTHNAME - res = options[:libvirt_user] + res = options[:libvirt_username] elsif cred["type"] == ::Libvirt::CRED_PASSPHRASE res = options[:libvirt_password] else