Logging correction in DriverResource 63/32663/1
authorajay priyadarshi <ajay.priyadarshi@ril.com>
Fri, 23 Feb 2018 06:48:12 +0000 (12:18 +0530)
committerajay priyadarshi <ajay.priyadarshi@ril.com>
Fri, 23 Feb 2018 06:48:12 +0000 (12:18 +0530)
sfc/resources/DriverResource.java
file name: DriverResource.java

Change-Id: Iff9a3bc8b1d1e1d82ca70e2a4215f039b236c2d7
Issue-ID: VFC-774
Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/resources/DriverResource.java

index 0c75e31..6b5a038 100644 (file)
@@ -62,7 +62,7 @@ public class DriverResource {
     public Result createPortPair(PortPairReq4N portPairReq4N)
             throws Exception {
         if (portPairReq4N == null) {
-            throw new NotFoundException("SdnControllerInfo is null");
+            throw new NotFoundException("portPairReq4N is null");
         }
         LOGGER.info(SfcDriverUtil.toJson(portPairReq4N));
         PortPairReq4S portPairReq = N2sReqWrapper.convertPortPair(portPairReq4N);
@@ -86,7 +86,7 @@ public class DriverResource {
     public Result createPortPairGroup(PortPairGroupReq4N portPairGroupReq4N)
             throws Exception {
         if (portPairGroupReq4N == null) {
-            throw new NotFoundException("SdnControllerInfo is null");
+            throw new NotFoundException("portPairGroupReq4N is null");
         }
         LOGGER.info(SfcDriverUtil.toJson(portPairGroupReq4N));
         PortPairGroupReq4S portPairGroupReq4S = N2sReqWrapper.convertPortPairGroup(portPairGroupReq4N);