Fix avalaible/available typo
Change-Id: I19a38f6bd26a6a47b5772799c8024872e6d7bbff
This commit is contained in:
parent
b29ee6f706
commit
340186e2ed
@ -124,7 +124,7 @@ correctly configured.")
|
||||
list = auth_neutron("#{type}-list", '--format=csv',
|
||||
'--column=id', '--quote=none')
|
||||
if list.nil?
|
||||
raise(Puppet::ExecutionFailure, "Can't retrieve #{type}-list because Neutron or Keystone API is not avalaible.")
|
||||
raise(Puppet::ExecutionFailure, "Can't retrieve #{type}-list because Neutron or Keystone API is not available.")
|
||||
end
|
||||
|
||||
(list.split("\n")[1..-1] || []).compact.collect do |line|
|
||||
@ -137,7 +137,7 @@ correctly configured.")
|
||||
attrs = {}
|
||||
net = auth_neutron("#{type}-show", '--format=shell', id)
|
||||
if net.nil?
|
||||
raise(Puppet::ExecutionFailure, "Can't retrieve #{type}-show because Neutron or Keystone API is not avalaible.")
|
||||
raise(Puppet::ExecutionFailure, "Can't retrieve #{type}-show because Neutron or Keystone API is not available.")
|
||||
end
|
||||
|
||||
last_key = nil
|
||||
|
@ -29,7 +29,7 @@ describe Puppet::Provider::Neutron do
|
||||
end
|
||||
|
||||
let :exec_error do
|
||||
/Neutron or Keystone API is not avalaible/
|
||||
/Neutron or Keystone API is not available/
|
||||
end
|
||||
|
||||
after :each do
|
||||
|
Loading…
Reference in New Issue
Block a user