mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	sta_connect: When querying for ports port,ip,ap, don't spout debug output when the port doesn't exist. The test runs whether this works or not.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		@@ -235,7 +235,7 @@ class StaConnect(Realm):
 | 
				
			|||||||
            print(".", end="")
 | 
					            print(".", end="")
 | 
				
			||||||
            for sta_name in self.station_names:
 | 
					            for sta_name in self.station_names:
 | 
				
			||||||
                sta_url = self.get_station_url(sta_name)
 | 
					                sta_url = self.get_station_url(sta_name)
 | 
				
			||||||
                station_info = self.json_get(sta_url + "?fields=port,ip,ap")
 | 
					                station_info = self.json_get(sta_url + "?fields=port,ip,ap", debug_=False)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                # LFUtils.debug_printer.pprint(station_info)
 | 
					                # LFUtils.debug_printer.pprint(station_info)
 | 
				
			||||||
                if station_info and "interface" in station_info:
 | 
					                if station_info and "interface" in station_info:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user