Correct ineffassign

Signed-off-by: Gábor Lipták <gliptak@gmail.com>
pull/1025/head
Gábor Lipták 4 years ago committed by Hidde Beydals (Rebase PR Action)
parent 69f38b8c77
commit 2092c14aca

@ -77,7 +77,7 @@ func getReceiverCmdRun(cmd *cobra.Command, args []string) error {
} }
var rows [][]string var rows [][]string
for _, receiver := range list.Items { for _, receiver := range list.Items {
row := []string{} var row []string
if c := apimeta.FindStatusCondition(receiver.Status.Conditions, meta.ReadyCondition); c != nil { if c := apimeta.FindStatusCondition(receiver.Status.Conditions, meta.ReadyCondition); c != nil {
row = []string{ row = []string{
receiver.GetName(), receiver.GetName(),

Loading…
Cancel
Save