aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/import_notes.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/gitlab/import_notes.go')
-rw-r--r--bridge/gitlab/import_notes.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/gitlab/import_notes.go b/bridge/gitlab/import_notes.go
index a096b14e..06c0a242 100644
--- a/bridge/gitlab/import_notes.go
+++ b/bridge/gitlab/import_notes.go
@@ -28,6 +28,8 @@ const (
// GetNoteType parse a note system and body and return the note type and it content
func GetNoteType(n *gitlab.Note) (NoteType, string) {
+ // when a note is a comment system is set to false
+ // when a note is a different event system is set to true
if !n.System {
return NOTE_COMMENT, n.Body
}