Files
kubernetes/pkg
Rodrigo Campos 4ed3768dc9 userns: Use len to handle empty non-nil slices
When using an old runtime like containerd 1.7, this message is not
implemented and what we get here is an empty non-nil slice. Let's check
the len of the slice instead.

While we are there, let's just return false and no error. In the
following commits we will wrap the error and we didn't find any more
info to add here.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-06 17:54:25 +02:00
..
2025-04-29 14:58:57 +08:00
2024-12-02 16:59:34 +01:00
2024-12-02 16:59:34 +01:00
2024-12-02 16:59:34 +01:00
2024-12-02 16:59:34 +01:00
2025-03-26 14:41:09 +00:00
2024-12-02 16:59:34 +01:00
2025-03-26 14:41:09 +00:00
2024-12-02 16:59:34 +01:00