From 2663bcc8406564ba57b40d03987e742b011e2230 Mon Sep 17 00:00:00 2001 From: Michelle Noorali Date: Thu, 3 Mar 2016 20:43:25 -0700 Subject: [PATCH] ref(kubectl): update GetByKind func description --- pkg/kubectl/get.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubectl/get.go b/pkg/kubectl/get.go index 16e94d10f..aac1e6bea 100644 --- a/pkg/kubectl/get.go +++ b/pkg/kubectl/get.go @@ -13,7 +13,7 @@ func (r RealRunner) Get(stdin []byte, ns string) ([]byte, error) { return cmd.CombinedOutput() } -// GetByKind gets a named thing by kind. +// GetByKind gets resources by kind, name(optional), and namespace(optional) func (r RealRunner) GetByKind(kind, name, ns string) (string, error) { args := []string{"get", kind} @@ -42,7 +42,7 @@ func (r PrintRunner) Get(stdin []byte, ns string) ([]byte, error) { return []byte(cmd.String()), nil } -// GetByKind gets a named thing by kind. +// GetByKind gets resources by kind, name(optional), and namespace(optional) func (r PrintRunner) GetByKind(kind, name, ns string) (string, error) { args := []string{"get", kind}