mirror of
https://github.com/dragonheim/gagent.git
synced 2025-05-24 12:16:47 -07:00
fix: (issues/7): Code is loading. Will test to see if it is being sent to router. Also adding build for arm.
This commit is contained in:
parent
8bb01d0266
commit
139e99a196
2 changed files with 59 additions and 6 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
gs "git.dragonheim.net/dragonheim/gagent/src/gstructs"
|
||||
|
||||
// client "git.dragonheim.net/dragonheim/gagent/src/client"
|
||||
gc "git.dragonheim.net/dragonheim/gagent/src/client"
|
||||
gr "git.dragonheim.net/dragonheim/gagent/src/router"
|
||||
gw "git.dragonheim.net/dragonheim/gagent/src/worker"
|
||||
|
||||
|
@ -132,9 +132,9 @@ func main() {
|
|||
}
|
||||
agent, err := ioutil.ReadFile(arguments["--agent"].(string))
|
||||
if err == nil {
|
||||
log.Printf("Agent containts %v\n", string(agent))
|
||||
// log.Printf("Agent containts %v\n", string(agent))
|
||||
log.Printf("Forking...\n")
|
||||
// go client.Main(config, string(agent))
|
||||
go gc.Main(config, string(agent))
|
||||
log.Printf("Forked thread has completed\n")
|
||||
time.Sleep(10 * time.Second)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue