added comment why we are suppressing the errors

Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>
This commit is contained in:
Dipankar Das
2022-11-15 08:48:42 +05:30
parent b3c92f9649
commit 9c9a775d4a

View File

@@ -98,6 +98,8 @@ func AddHandlers(h printers.PrintHandler) {
{Name: "Nominated Node", Type: "string", Priority: 1, Description: apiv1.PodStatus{}.SwaggerDoc()["nominatedNodeName"]},
{Name: "Readiness Gates", Type: "string", Priority: 1, Description: apiv1.PodSpec{}.SwaggerDoc()["readinessGates"]},
}
// Errors are suppressed as TableHandler already logs internally
_ = h.TableHandler(podColumnDefinitions, printPodList)
_ = h.TableHandler(podColumnDefinitions, printPod)