mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
tools: Fix typo generating adapter_wwpn field
https://bugzilla.redhat.com/show_bug.cgi?id=1601377
Fix typo from commit id d45bee449
for the parent_wwpn field
resulting in parent_wwnn being printed twice.
Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
2f259d598a
commit
313eaae3b5
@ -371,7 +371,7 @@ virshBuildPoolXML(vshControl *ctl,
|
||||
if (adapterParent)
|
||||
virBufferAsprintf(&buf, " parent='%s'", adapterParent);
|
||||
else if (adapterParentWwnn && adapterParentWwpn)
|
||||
virBufferAsprintf(&buf, " parent_wwnn='%s' parent_wwnn='%s'",
|
||||
virBufferAsprintf(&buf, " parent_wwnn='%s' parent_wwpn='%s'",
|
||||
adapterParentWwnn, adapterParentWwpn);
|
||||
else if (adapterParentFabricWwn)
|
||||
virBufferAsprintf(&buf, " parent_fabric_wwn='%s'",
|
||||
|
Loading…
Reference in New Issue
Block a user