commit | 53f36f31fe34e61466158963c9b9dc90782caba0 | [log] [tgz] |
---|---|---|
author | 柯志勇10068695 <ke.zhiyong@zte.com.cn> | Tue Sep 18 10:38:22 2018 +0800 |
committer | 柯志勇10068695 <ke.zhiyong@zte.com.cn> | Tue Sep 18 10:38:22 2018 +0800 |
tree | 5bc35e86c9ce459f6c5d43be09fc0971396e9f04 | |
parent | f381442fa36a59c4515e2671025322e46e647594 [diff] |
Here miss a brances,thanks. Change-Id: I6b244820c7ae0fe2f0599e10dfc7e05511350d5c
diff --git a/cli/src/main/java/org/onosproject/cli/net/DeviceKeyAddCommand.java b/cli/src/main/java/org/onosproject/cli/net/DeviceKeyAddCommand.java index 1f7ceab..44bc483 100644 --- a/cli/src/main/java/org/onosproject/cli/net/DeviceKeyAddCommand.java +++ b/cli/src/main/java/org/onosproject/cli/net/DeviceKeyAddCommand.java
@@ -72,7 +72,7 @@ deviceKey = DeviceKey.createDeviceKeyUsingUsernamePassword(DeviceKeyId.deviceKeyId(id), label, username, password); } else { - print("Invalid Device key type: ", type); + print("Invalid Device key type: {}", type); return; } service.addKey(deviceKey);