Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mr_create: check for empty msg before acting
When creating a merge request in draft mode the message size wasn't being considered: if it was empty, the code would not check and panic due to a "slice bounds out of range". This patch basically moves the check for message existence before the actual manipulation code happens. Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
- Loading branch information