diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-10 12:54:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 12:54:29 +0200 |
commit | 60c711f78956f4eda1f811757dc8b320e5e66d9f (patch) | |
tree | 851f1a5766e15066ba64b527bf26a85fb27f3554 /libpod | |
parent | c47f714fe8193cd1ac90a9359da3ef177a6db7e1 (diff) | |
parent | 8d3aec9d08bddf486dcb30e7113777b9d0cc27bd (diff) | |
download | podman-60c711f78956f4eda1f811757dc8b320e5e66d9f.tar.gz podman-60c711f78956f4eda1f811757dc8b320e5e66d9f.tar.bz2 podman-60c711f78956f4eda1f811757dc8b320e5e66d9f.zip |
Merge pull request #11869 from jwhonce/wip/pprof
Enable /debug/pprof API service endpoints
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/shutdown/handler.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/shutdown/handler.go b/libpod/shutdown/handler.go index cca74c3c4..b0feafa0b 100644 --- a/libpod/shutdown/handler.go +++ b/libpod/shutdown/handler.go @@ -87,12 +87,12 @@ func Stop() error { return nil } -// Temporarily inhibit signals from shutting down Libpod. +// Inhibit temporarily inhibit signals from shutting down Libpod. func Inhibit() { shutdownInhibit.RLock() } -// Stop inhibiting signals from shutting down Libpod. +// Uninhibit stop inhibiting signals from shutting down Libpod. func Uninhibit() { shutdownInhibit.RUnlock() } |