mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
Make updateAllocatedDevices() as a public method and call it in
podresources api
This commit is contained in:
committed by
MATSUMOTO TAKEAKI
parent
9a1ea1844e
commit
785fac6826
@@ -946,3 +946,7 @@ func (cm *containerManagerImpl) GetDevices(podUID, containerName string) []*podr
|
||||
func (cm *containerManagerImpl) ShouldResetExtendedResourceCapacity() bool {
|
||||
return cm.deviceManager.ShouldResetExtendedResourceCapacity()
|
||||
}
|
||||
|
||||
func (cm *containerManagerImpl) UpdateAllocatedDevices() {
|
||||
cm.deviceManager.UpdateAllocatedDevices()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user