Merge pull request #1025 from gliptak/patch-1

Correct ineffassign
This commit is contained in:
Hidde Beydals 2021-03-10 18:12:20 +01:00 committed by GitHub
commit eaeb8ca5c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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