mirror of
https://github.com/opencontainers/runc.git
synced 2025-10-20 22:19:42 +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>