Update based on review comments

Signed-off-by: Chris Berry <bez625@gmail.com>
pull/30570/head
Chris Berry 8 months ago committed by Scott Rigby
parent 3c445158d8
commit 5367001f4f
No known key found for this signature in database
GPG Key ID: C7C6FBB5B91C1155

@ -199,7 +199,7 @@ func (cfg *Configuration) outputLogsByPolicy(h *release.Hook, releaseNamespace s
} }
func (cfg *Configuration) outputContainerLogsForListOptions(namespace string, listOptions metav1.ListOptions) error { func (cfg *Configuration) outputContainerLogsForListOptions(namespace string, listOptions metav1.ListOptions) error {
// TODO Helm 4: Remove this check when GetPodList and OutputContainerLogsForPodList are moved from InterfaceExt to Interface // TODO Helm 4: Remove this check when GetPodList and OutputContainerLogsForPodList are moved from InterfaceLogs to Interface
if kubeClient, ok := cfg.KubeClient.(kube.InterfaceLogs); ok { if kubeClient, ok := cfg.KubeClient.(kube.InterfaceLogs); ok {
podList, err := kubeClient.GetPodList(namespace, listOptions) podList, err := kubeClient.GetPodList(namespace, listOptions)
if err != nil { if err != nil {

Loading…
Cancel
Save