diff --git a/cloud/kubernetes/custom/kubectl.pm b/cloud/kubernetes/custom/kubectl.pm index f830d4f3c..445e7e57e 100644 --- a/cloud/kubernetes/custom/kubectl.pm +++ b/cloud/kubernetes/custom/kubectl.pm @@ -111,7 +111,7 @@ sub execute { $self->{output}->option_exit(); } - return $decoded; + return $decoded->{items}; } sub kubernetes_list_daemonsets {