List plugin runtimes API always includes a list even if empty (#24864)

This commit is contained in:
Tom Proctor
2024-01-16 16:36:07 +00:00
committed by GitHub
parent d9f0587705
commit f393241bb2
4 changed files with 17 additions and 16 deletions

View File

@@ -46,14 +46,14 @@ func TestPluginRuntimeListCommand_Run(t *testing.T) {
{
"list container on empty plugin runtime catalog",
[]string{"-type=container"},
"Error listing available plugin runtimes:",
2,
"OCI Runtime",
0,
},
{
"list on empty plugin runtime catalog",
nil,
"Error listing available plugin runtimes:",
2,
"OCI Runtime",
0,
},
}