commit | 0354b455795589f3baff07de9d409f026c0b3bbe | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Fri Jul 06 09:20:12 2018 -0700 |
committer | Thomas Vachuska <tom@opennetworking.org> | Fri Jul 06 17:37:22 2018 +0000 |
tree | ea910400befc952f9377bee2a90c6fb9dd3880e5 | |
parent | 158feb94e1015b2e324a603ebff0ade78f60eef5 [diff] |
Fix guaranteed NPE in CLI error report Change-Id: I1340656d09abedf6fb474be62d356eaa04a07ffc
diff --git a/apps/openstackvtap/app/src/main/java/org/onosproject/openstackvtap/cli/OpenstackVtapDeleteCommand.java b/apps/openstackvtap/app/src/main/java/org/onosproject/openstackvtap/cli/OpenstackVtapDeleteCommand.java index 267d15e..e4a167b 100644 --- a/apps/openstackvtap/app/src/main/java/org/onosproject/openstackvtap/cli/OpenstackVtapDeleteCommand.java +++ b/apps/openstackvtap/app/src/main/java/org/onosproject/openstackvtap/cli/OpenstackVtapDeleteCommand.java
@@ -40,7 +40,7 @@ if (vTap != null) { print("Removed OpenstackVtap with id { %s }", vTap.id().toString()); } else { - print("Failed to remove OpenstackVtap with id { %s }", vTap.id().toString()); + print("Failed to remove OpenstackVtap with id { %s }", vTapId); } } }