Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now raising errors when using nerdctl for the provider ```console > ./kind --version kind version 0.26.0-alpha > nerdctl --version nerdctl version 2.0.1 > ./kind get clusters ERROR: failed to list clusters: command "nerdctl ps -a --filter label=io.x-k8s.kind.cluster --format '{{index .Labels "io.x-k8s.kind.cluster"}}'" failed with error: exit status 1 Command Output: time="2024-12-09T18:01:03+09:00" level=fatal msg="template: :1:2: executing \"\" at <index .Labels \"io.x-k8s.kind.cluster\">: error calling index: cannot index slice/array with type string" ``` nerdctl fixed the `.Label` behavior in v1.7.0. containerd/nerdctl@2af4cef However `index .Labels` syntax is not yet supported at least in v2.0.1. (The style is also used for podman provider, and it is available) This commit follows up #3429 Signed-off-by: Kenichi Kamiya <[email protected]>
- Loading branch information