Skip to content
Snippets Groups Projects
Commit 2b083067 authored by zf4's avatar zf4
Browse files

debug print

parent 1f78ed4e
No related branches found
No related tags found
No related merge requests found
...@@ -382,7 +382,8 @@ func runSpout() { ...@@ -382,7 +382,8 @@ func runSpout() {
child := childrenBolts[rand.Intn(len(childrenBolts))] child := childrenBolts[rand.Intn(len(childrenBolts))]
data := Data{ID: child.ID, Tuple: tuple} data := Data{ID: child.ID, Tuple: tuple}
childServ := child.ServNum childServ := child.ServNum
//fmt.Printf("Send data to bolt %v\n", child.ID) fmt.Printf("Send data to bolt %v\n", child.ID)
fmt.Println(data)
// fmt.Println("Print children") // fmt.Println("Print children")
// fmt.Println(childrenBolts) // fmt.Println(childrenBolts)
// fmt.Println(child) // fmt.Println(child)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment