mirror of https://github.com/apache/cloudstack.git
api: fix event type and description for createTag (#6779)
Fixes #6777 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
64316d513c
commit
432a03fb02
|
|
@ -106,17 +106,17 @@ public class CreateTagsCmd extends BaseAsyncCmd {
|
|||
SuccessResponse response = new SuccessResponse(getCommandName());
|
||||
setResponseObject(response);
|
||||
} else {
|
||||
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to upload resource icon");
|
||||
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to create resource tag(s)");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEventType() {
|
||||
return EventTypes.EVENT_RESOURCE_ICON_UPLOAD;
|
||||
return EventTypes.EVENT_TAGS_CREATE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEventDescription() {
|
||||
return "Uploading resource icon";
|
||||
return "Creating resource tag(s)";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue