diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2022-08-10 10:01:00 +0200 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2022-08-10 23:14:35 +0200 |
commit | 6b7e19ff42b8760a8992ed1b997903eccdecbbbd (patch) | |
tree | d64a46b9d400868a1c8d67807c7f18a504b4225c /libcontainerd | |
parent | 44626eaf8173ad4920f5bebf53b9ef0469f38bb2 (diff) |
libcontainerd/supervisor: remove unused RWMutex
This RWMutex was added in 9c4570a958df42d1ad19364b1a8da55b891d850a, and used in
the `remote.Client()` method. Commit dd2e19ebd58cd8896d79b4b8db61144b93717b33
split the code for client and daemon, but did not remove the mutex.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'libcontainerd')
-rw-r--r-- | libcontainerd/supervisor/remote_daemon.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libcontainerd/supervisor/remote_daemon.go b/libcontainerd/supervisor/remote_daemon.go index 7de2174809..4461ad94ac 100644 --- a/libcontainerd/supervisor/remote_daemon.go +++ b/libcontainerd/supervisor/remote_daemon.go @@ -9,7 +9,6 @@ import ( "path/filepath" "strconv" "strings" - "sync" "time" "github.com/containerd/containerd" @@ -31,7 +30,6 @@ const ( ) type remote struct { - sync.RWMutex config.Config daemonPid int |