mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
… in order to remove duplication. Each time we update a cluster object, we do some common operations (lock, verify it's on a manager, get the request context, and the update). This introduce a method and refactor few update/remove method that allows to duplicate less code. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 250e05e42773a875d2fb8248b94fa72f2934a4b6 Component: engine