diff options
author | Steve Smokowski <ss835w@att.com> | 2020-11-03 17:25:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-11-03 17:25:58 +0000 |
commit | e2c97b0f61948947117bfcb3f378a61119c16929 (patch) | |
tree | 9efcdbe3b7f503bb186fbe3a093b88c7ca953eba /adapters/mso-openstack-adapters/src/main/java | |
parent | 5f49f69b09a9ec8d83d6cc38ee672b355de20013 (diff) | |
parent | fe9c94057eab46cb6a6329e268378fab232e9af7 (diff) |
Merge "Use correct DSL query on property name"
Diffstat (limited to 'adapters/mso-openstack-adapters/src/main/java')
-rw-r--r-- | adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java index 5f17f3ca38..1264727f35 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java @@ -618,9 +618,7 @@ public class HeatBridgeImpl implements HeatBridgeApi { DSLQueryBuilder<Start, Node> builder = TraversalBuilder .fragment(new DSLStartNode(Types.PSERVER, __.key("hostname", pserverHostName))) .to(__.node(Types.P_INTERFACE) - .to(__.node(Types.SRIOV_PF, - __.key(HeatBridgeConstants.OS_PF_PCI_SLOT_KEY.toString(), pfPciId)) - .output())); + .to(__.node(Types.SRIOV_PF, __.key("pf-pci-id", pfPciId)).output())); List<Pathed> results = getAAIDSLClient().queryPathed(new DSLQuery(builder.build())); |