fix a typo

Change-Id: I413a1d90abea296cfba68817b02d258b47b92e83
This commit is contained in:
wangqi 2018-03-28 02:56:30 +00:00 committed by Sam Betts
parent b91cfa467f
commit 91251d19ad

View File

@ -1753,7 +1753,7 @@ function provide_nodes {
fi
}
function wait_for_ironic_neuton_agent_report_state_for_all_nodes {
function wait_for_ironic_neutron_agent_report_state_for_all_nodes {
local nodes=$@
echo "Waiting for ironic-neutron-agent to report state for nodes: $nodes"
local attempt
@ -2054,7 +2054,7 @@ function enroll_nodes {
# NOTE(hjensas): ensure ironic-neutron-agent has done report_state for all
# nodes we attempt cleaning.
if [[ "${IRONIC_USE_NEUTRON_SEGMENTS}" == "True" ]]; then
wait_for_ironic_neuton_agent_report_state_for_all_nodes $node_uuids
wait_for_ironic_neutron_agent_report_state_for_all_nodes $node_uuids
fi
# NOTE(dtantsur): doing it outside of the loop, because of cleaning