Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for HealthHandler (0.08 seconds)

  1. cmd/storage-rest-server.go

    		return true
    	}
    
    	storedDiskID, err := s.getStorage().GetDiskID()
    	if err != nil {
    		return false
    	}
    
    	return wantID == storedDiskID
    }
    
    // HealthHandler handler checks if disk is stale
    func (s *storageRESTServer) HealthHandler(w http.ResponseWriter, r *http.Request) {
    	s.IsValid(w, r)
    }
    
    // DiskInfoHandler - returns disk info.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
Back to Top