mirror of
				https://github.com/prometheus/node_exporter.git
				synced 2025-08-20 18:33:52 -07:00 
			
		
		
		
	correction
Signed-off-by: Shashwat Hiregoudar <shashwat.h@flipkart.com>
This commit is contained in:
		
							parent
							
								
									5919d9d15c
								
							
						
					
					
						commit
						74533358f9
					
				| 
						 | 
					@ -115,7 +115,7 @@ func (c *nvmeCollector) Update(ch chan<- prometheus.Metric) error {
 | 
				
			||||||
		infoValue := 1.0
 | 
							infoValue := 1.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		devicePath := filepath.Join(*sysPath, "class/nvme", device.Name)
 | 
							devicePath := filepath.Join(*sysPath, "class/nvme", device.Name)
 | 
				
			||||||
		if cntlid, err := readUintFromFile(filepath.Join(devicePath, "cntlid"))
 | 
							cntlid, err := readUintFromFile(filepath.Join(devicePath, "cntlid"))
 | 
				
			||||||
		if err != nil {
 | 
							if err != nil {
 | 
				
			||||||
			level.Debug(c.logger).Log("msg", "failed to read cntlid", "device", device.Name, "err", err)
 | 
								level.Debug(c.logger).Log("msg", "failed to read cntlid", "device", device.Name, "err", err)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue