Pārlūkot izejas kodu

Improve config doc

Brendan Abolivier 6 gadus atpakaļ
vecāks
revīzija
a8b70fa099
Parakstījis: Brendan Abolivier <contact@brendanabolivier.com> GPG atslēgas ID: 8EF1500759F70623
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      src/config/config.go

+ 2
- 0
src/config/config.go Parādīt failu

@@ -29,6 +29,8 @@ type GitSettings struct {
29 29
 }
30 30
 
31 31
 // WebhookSettings contains the data required to setup the GitLab webhook.
32
+// We declare the port as a string because, although it's a number, it's only
33
+// used in a string concatenation when creating the webhook.
32 34
 type WebhookSettings struct {
33 35
 	Interface string `yaml:"interface"`
34 36
 	Port      string `yaml:"port"`