docs(desired_state_of_world.go): log in desired_state_of_world.go seems to be wrong

This commit is contained in:
KunWuLuan 2022-08-02 20:47:44 +08:00
parent 7bcd739851
commit ccb8b2ebc3

View File

@ -128,7 +128,7 @@ func (dsw *desiredStateOfWorld) AddOrUpdatePlugin(socketPath string) error {
return fmt.Errorf("socket path is empty") return fmt.Errorf("socket path is empty")
} }
if _, ok := dsw.socketFileToInfo[socketPath]; ok { if _, ok := dsw.socketFileToInfo[socketPath]; ok {
klog.V(2).InfoS("Plugin exists in actual state cache, timestamp will be updated", "path", socketPath) klog.V(2).InfoS("Plugin exists in desired state cache, timestamp will be updated", "path", socketPath)
} }
// Update the PluginInfo object. // Update the PluginInfo object.