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 <vorburger@redhat.com>
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();