From cef20546d9503a3a8e2e0e72a4cd9c118c5dd90a Mon Sep 17 00:00:00 2001 From: Nicolas Belouin Date: Tue, 30 Apr 2024 09:45:20 +0200 Subject: [PATCH] Fix documentation build Signed-off-by: Nicolas Belouin --- agent/src/plugin_manager/device_plugin_slot_reclaimer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/src/plugin_manager/device_plugin_slot_reclaimer.rs b/agent/src/plugin_manager/device_plugin_slot_reclaimer.rs index 1c9d41e34..4843aa3fd 100644 --- a/agent/src/plugin_manager/device_plugin_slot_reclaimer.rs +++ b/agent/src/plugin_manager/device_plugin_slot_reclaimer.rs @@ -26,7 +26,7 @@ const SLOT_RECLAIM_INTERVAL: Duration = Duration::from_secs(10); /// This function connects to kubelet's resource monitoring interface and extracts /// the set of resources currently used by pods on the node. /// It uses this Kubelet interface: -/// https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/#grpc-endpoint-list +/// async fn get_used_slots() -> Result, anyhow::Error> { // We will ignore this dummy uri because UDS does not use it. // Some servers will check the uri content so the uri needs to