We have file "rb-gateway" on windows. In it, there are folder "gitRep"
(where inside there is .git folder and other files), file htpasswd with
approppriate data, empty file tokens.dat, empty file
webhooks.json, rbgateway-1.0-windows-amd64.exe and config.json, which
contains:
{
> "port":8888,
> "htpasswdPath":"htpasswd",
> "tokenStorePath":"tokens.dat",
> "webhookStorePath":"webhooks.json",
> "repositories":[
> {
> "name":"repo1",
> "path":"testingForReviewBoard",
> "scm":"git"
> }
> ]
> }
When I run .exe file in cmd, I get:
> C:\Users\M0097932\Desktop\rb-gateway>rbgateway-1.0-windows-amd64.exe
2019/11/27 15:03:11 Could not create API: json: cannot unmarshal object
> into Go value of type []*hooks.Webhook
config.json should be ok, I used online JSON validator on it.
Why do I get the error? I know nothing of GO and unmarshaling objects.
--
Supercharge your Review Board with Power Pack:
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons:
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/reviewboard/1b32f95a-f53b-4151-a582-7e302d77f56d%40googlegroups.com.