mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
During the renaming of a container, no need to call `container.Lock()` if `oldName == newName`. This is a follow-up from #23360 (commit 88d1ee6c112d980a63c625389524047fea32e6d9) Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 7e1ec8d2bd6d1aa77f824a1a4d717a7aa4cc3459 Component: engine