Skip to content

Commit

Permalink
fix: add required apiPath for app-common-go
Browse files Browse the repository at this point in the history
vmaas-webapp-go         | field apiPath in DependencyEndpoint: required
vmaas-webapp-go         | panic: runtime error: invalid memory address or nil pointer dereference
vmaas-webapp-go         | [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xb9bd3c]
vmaas-webapp-go         |
vmaas-webapp-go         | goroutine 1 [running]:
vmaas-webapp-go         | github.com/redhatinsights/vmaas/base/utils.initDB()
vmaas-webapp-go         | 	/vmaas/go/src/vmaas/base/utils/config.go:71 +0x2c
vmaas-webapp-go         | github.com/redhatinsights/vmaas/base/utils.init.0()
vmaas-webapp-go         | 	/vmaas/go/src/vmaas/base/utils/config.go:63 +0x30
vmaas-webapp-go exited with code 2
  • Loading branch information
jdobes committed Jan 9, 2024
1 parent 6b0fd00 commit d8d4873
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/cdappconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
},
"endpoints": [
{
"apiPath": "api/vmaas/v3",
"app": "vmaas",
"hostname": "vmaas_webapp",
"name": "webapp-service",
"port": 8000
},
{
"apiPath": "api/vmaas/v1",
"app": "vmaas",
"hostname": "vmaas_reposcan",
"name": "reposcan-service",
Expand Down

0 comments on commit d8d4873

Please sign in to comment.