mirror of
https://github.com/containerd/containerd.git
synced 2026-07-17 13:02:27 +00:00
From the Go docs: "For a nil slice, the number of iterations is 0." [1] Both `info.RootFS` and `host.clientPairs` are slices. Therefore, an additional nil check for before the loop is unnecessary. [1]: https://go.dev/ref/spec#For_range Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>