mirror of
https://github.com/opencontainers/runc.git
synced 2025-10-16 12:31:51 +08:00

Using strings.CutPrefix (available since Go 1.20) instead of strings.HasPrefix and/or strings.TrimPrefix makes the code a tad more straightforward. No functional change. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>