Merge pull request #123298 from henry118/spell

Fix func name typo
This commit is contained in:
Kubernetes Prow Robot 2024-06-24 21:01:40 -07:00 committed by GitHub
commit ba19ecb8c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -234,7 +234,7 @@ func (m *managerImpl) start() (chan struct{}, error) {
}
}
err = m.aquireInhibitLock()
err = m.acquireInhibitLock()
if err != nil {
return nil, err
}
@ -287,7 +287,7 @@ func (m *managerImpl) start() (chan struct{}, error) {
m.processShutdownEvent()
} else {
m.aquireInhibitLock()
_ = m.acquireInhibitLock()
}
}
}
@ -295,7 +295,7 @@ func (m *managerImpl) start() (chan struct{}, error) {
return stop, nil
}
func (m *managerImpl) aquireInhibitLock() error {
func (m *managerImpl) acquireInhibitLock() error {
lock, err := m.dbusCon.InhibitShutdown()
if err != nil {
return err