From cf590dc94e895af12a92de4a8d477e2a71b3688b Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Wed, 4 Jul 2018 16:25:15 +0200 Subject: [PATCH] add missing warn log to AbstractNeutronNorthbound for 442 In I2c55e707c9d48f78fd60a8e22af6a799976d86bf this was only done for the bulk operation code path, but forgotten for the single create. Change-Id: I15943679a9a2ff40de84ba43a01233869465acf9 Signed-off-by: Michael Vorburger --- .../neutron/northbound/api/AbstractNeutronNorthbound.java | 1 + 1 file changed, 1 insertion(+) diff --git a/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java b/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java index 9a922c12d..2ebd7960e 100644 --- a/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java +++ b/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java @@ -115,6 +115,7 @@ public abstract class AbstractNeutronNorthbound, R e singleton.initDefaults(); Result result = neutronCRUD.add(singleton); if (result.equals(DependencyMissing)) { + LOG.warn("create failed due to input missing dependencies: {}", input); return Response.status(HTTP_MISSING_DEPENDENCY).entity(input).build(); } else if (result.equals(AlreadyExists)) { return Response.status(HttpURLConnection.HTTP_CONFLICT).entity(input).build(); -- 2.36.6