We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 514e57b commit 030b56aCopy full SHA for 030b56a
1 file changed
api/src/main/java/org/apache/cloudstack/api/command/admin/user/DeleteUserKeysCmd.java
@@ -68,7 +68,9 @@ public String getEventType() {
68
69
@Override
70
public String getEventDescription() {
71
- return String.format("Deleting API keypair with ID equal to %s", id);
+ ApiKeyPair keyPair = apiKeyPairService.findById(id);
72
+ return String.format("Deleting API key pair with ID [%s]%s", id,
73
+ keyPair == null ? "." : String.format(" and name [%s].", keyPair.getName()));
74
}
75
76
0 commit comments