mirror of
https://github.com/dragonheim/gagent.git
synced 2025-04-25 04:08:59 -07:00
A few minor updates and attempts to clear up some lint / gosec warnings.
This commit is contained in:
parent
66970dcd25
commit
1a0455152a
10 changed files with 407 additions and 34 deletions
|
@ -17,7 +17,7 @@ import (
|
|||
|
||||
var (
|
||||
opsProcessed = promauto.NewCounter(prometheus.CounterOpts{
|
||||
Name: "client_requests_recieved",
|
||||
Name: "client_requests_received",
|
||||
})
|
||||
|
||||
db gcdb.GagentDb
|
||||
|
@ -29,6 +29,7 @@ var (
|
|||
list of tags and passing the agent and it's storage to either a member
|
||||
or client node. Tags are used by the agent to give hints as to where
|
||||
it should be routed.
|
||||
Main is the entrypoint for the router
|
||||
*/
|
||||
func Main(wg *sync.WaitGroup, config gstructs.GagentConfig) {
|
||||
log.Printf("[INFO] Starting router\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue