mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	Remove debug println
This commit is contained in:
		
							parent
							
								
									d575b83ec1
								
							
						
					
					
						commit
						e9e2d7bc6f
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -396,7 +396,7 @@ func (a *AdminSocket) handleRequest(conn net.Conn) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		// Decode the input
 | 
							// Decode the input
 | 
				
			||||||
		if err := decoder.Decode(&recv); err != nil {
 | 
							if err := decoder.Decode(&recv); err != nil {
 | 
				
			||||||
			//	fmt.Println("Admin socket JSON decode error:", err)
 | 
								a.log.Debugln("Admin socket JSON decode error:", err)
 | 
				
			||||||
			return
 | 
								return
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -412,8 +412,6 @@ func (a *AdminSocket) handleRequest(conn net.Conn) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		n := strings.ToLower(recv["request"].(string))
 | 
							n := strings.ToLower(recv["request"].(string))
 | 
				
			||||||
		if h, ok := a.handlers[strings.ToLower(n)]; ok {
 | 
							if h, ok := a.handlers[strings.ToLower(n)]; ok {
 | 
				
			||||||
			fmt.Println("HANDLER FOUND", n, h)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
			// Check that we have all the required arguments
 | 
								// Check that we have all the required arguments
 | 
				
			||||||
			for _, arg := range h.args {
 | 
								for _, arg := range h.args {
 | 
				
			||||||
				// An argument in [square brackets] is optional and not required,
 | 
									// An argument in [square brackets] is optional and not required,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue