From 635581053a53fa393401ea7de6da22470adcdd39 Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Fri, 26 Feb 2021 16:20:19 +0100 Subject: [PATCH] fix(cloud/kubernetes): fix kubectl custommode return ref (#2620) --- cloud/kubernetes/custom/kubectl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {