Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for aquireInhibitLock (0.24 sec)

  1. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    				if isShuttingDown {
    					// Update node status and ready condition
    					go m.syncNodeStatus()
    
    					m.processShutdownEvent()
    				} else {
    					m.aquireInhibitLock()
    				}
    			}
    		}
    	}()
    	return stop, nil
    }
    
    func (m *managerImpl) aquireInhibitLock() error {
    	lock, err := m.dbusCon.InhibitShutdown()
    	if err != nil {
    		return err
    	}
    	if m.inhibitLock != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
Back to top